We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfa1f9f commit aedd048Copy full SHA for aedd048
libxtracfg/c/native-image/static-compiler-windows.bat
@@ -64,6 +64,6 @@ REM To create a static library on Windows we need to call lib.exe input.obj /OUT
64
REM We don't want to overwrite the .lib needed to compile against the .dll, so
65
REM we append "_s" to indicate that it is a static library.
66
if not exist %OUTPUT_PATH% mkdir %OUTPUT_PATH%
67
-set LIB_ARGS=%LIB_NAME%.obj !LIBS_EXT! /OUT:%OUTPUT_PATH%\%LIB_NAME%_static.lib
+set LIB_ARGS=%LIB_NAME%.obj %JAVA_HOME%/lib/jvm.lib !LIBS_EXT! /OUT:%OUTPUT_PATH%\%LIB_NAME%_static.lib
68
echo lib.exe %LIB_ARGS% >> %LOG_FILE%
69
cmd /c lib.exe %LIB_ARGS%
0 commit comments