Fix Windows scripts (quotes missing)

Signed-off-by: Dmitry Solomennikov <dmitrys99@mail.ru>
This commit is contained in:
Dmitry Solomennikov 2024-02-03 13:41:03 +03:00 committed by Marius Gerbershagen
parent cedf45a779
commit 12bf1a5243
2 changed files with 4 additions and 4 deletions

View file

@ -11,10 +11,10 @@ IF NOT "%1" == "" (
goto LOOP goto LOOP
) )
IF %CMDTYPE% == --compile ( IF "%CMDTYPE%" == "--compile" (
cl @ECL_CFLAGS@ -I@includedir@ %CMDARGS% cl @ECL_CFLAGS@ -I@includedir@ %CMDARGS%
GOTO END GOTO END
) ELSE IF %CMDTYPE% == --link ( ) ELSE IF "%CMDTYPE%" == "--link" (
cl %CMDARGS% @LDFLAGS@ @libdir@/ecl.lib cl %CMDARGS% @LDFLAGS@ @libdir@/ecl.lib
GOTO END GOTO END
) )

View file

@ -2,10 +2,10 @@
REM Script converted from ecl-config REM Script converted from ecl-config
REM (Michael Goffioul) REM (Michael Goffioul)
IF %1 == --cflags ( IF "%1" == "--cflags" (
ECHO @ECL_CFLAGS@ -I@includedir@ ECHO @ECL_CFLAGS@ -I@includedir@
GOTO END GOTO END
) ELSE IF %1 == --libs ( ) ELSE IF "%1" == "--libs" (
ECHO @LDFLAGS@ /link /LIBPATH:@libdir@ ecl.lib @CLIBS@ ECHO @LDFLAGS@ /link /LIBPATH:@libdir@ ecl.lib @CLIBS@
GOTO END GOTO END
) )