File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
libxtracfg/c/native-image Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,10 @@ echo STATIC EXTERNAL >> %LOG_FILE%
4848echo ===================================================== >> %LOG_FILE%
4949set LIBS_EXT =
5050for %%P in (%* ) do (
51- echo %%P | findstr /R /C:" C:\\.*\.lib " 1 > nul
51+ echo %%P >> %LOG_FILE%
52+ echo %%P | findstr /R /C:" C:\\.*?\.lib " 1 > nul
5253 if !errorlevel! == 0 (
53- echo %%P >> %LOG_FILE%
54+ echo *** >> %LOG_FILE%
5455 set LIBS_EXT = !LIBS_EXT! %%P
5556 )
5657)
@@ -63,6 +64,6 @@ REM To create a static library on Windows we need to call lib.exe input.obj /OUT
6364REM We don't want to overwrite the .lib needed to compile against the .dll, so
6465REM we append "_s" to indicate that it is a static library.
6566if not exist %OUTPUT_PATH% mkdir %OUTPUT_PATH%
66- set LIB_ARGS = %LIB_NAME% .obj % LIBS_EXT% /OUT:%OUTPUT_PATH% \%LIB_NAME% _static.lib
67+ set LIB_ARGS = %LIB_NAME% .obj ! LIBS_EXT! /OUT:%OUTPUT_PATH% \%LIB_NAME% _static.lib
6768echo lib.exe %LIB_ARGS% >> %LOG_FILE%
6869cmd /c lib.exe %LIB_ARGS%
You can’t perform that action at this time.
0 commit comments