Skip to content

Commit 93786a7

Browse files
committed
windows build
1 parent d282a18 commit 93786a7

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

libxtracfg/c/native-image/static-compiler-windows.bat

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,11 @@ for %%P in (%*) do (
5353
echo %%P | findstr /R /C:"^C:.*\.lib" 1>nul
5454
if !errorlevel!==0 (
5555
echo *** >> %LOG_FILE%
56-
echo %%P | findstr /R /C:"\\jvm\.lib ^" 1>nul
57-
if !errorlevel!==0 (
58-
set "TMP=%%P"
59-
set "TMP=!TMP:svm\clibraries\windows-amd64=!"
60-
set "LIBS_EXT=!LIBS_EXT! !TMP!"
61-
echo (replaced svm\clibraries\windows-amd64) >> %LOG_FILE%
62-
) else (
63-
set "LIBS_EXT=!LIBS_EXT! %%P"
64-
)
56+
set "LIBS_EXT=!LIBS_EXT! %%P"
6557
)
6658

6759
)
60+
set "LIBS_EXT=!LIBS_EXT:svm\clibraries\windows-amd64\jvm.lib=jvm.lib!"
6861
echo !LIBS_EXT! >> %LOG_FILE%
6962

7063
echo ===================================================== >> %LOG_FILE%

0 commit comments

Comments
 (0)