Skip to content

Commit aedd048

Browse files
committed
windows build
1 parent bfa1f9f commit aedd048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ REM To create a static library on Windows we need to call lib.exe input.obj /OUT
6464
REM We don't want to overwrite the .lib needed to compile against the .dll, so
6565
REM we append "_s" to indicate that it is a static library.
6666
if not exist %OUTPUT_PATH% mkdir %OUTPUT_PATH%
67-
set LIB_ARGS=%LIB_NAME%.obj !LIBS_EXT! /OUT:%OUTPUT_PATH%\%LIB_NAME%_static.lib
67+
set LIB_ARGS=%LIB_NAME%.obj %JAVA_HOME%/lib/jvm.lib !LIBS_EXT! /OUT:%OUTPUT_PATH%\%LIB_NAME%_static.lib
6868
echo lib.exe %LIB_ARGS% >> %LOG_FILE%
6969
cmd /c lib.exe %LIB_ARGS%

0 commit comments

Comments
 (0)