add quotes around JAVA_HOME on windows so that it can use a JAVA_HOME that exists in %ProgramFiles%

This commit is contained in:
idk
2023-01-01 23:48:57 +00:00
parent e4fba64fc1
commit 6856969d01

View File

@@ -102,7 +102,7 @@ case "$TARGET" in
MINGW*|CYGWIN*|windows*)
[ -z "$JAVA_HOME" ] && JAVA_HOME="/c/software/j2sdk1.4.2_05"
CFLAGS="${CFLAGS} -Wall"
INCLUDES="-I. -Iinclude -I${JAVA_HOME}/include/ -I${JAVA_HOME}/include/$HOST/"
INCLUDES="-I. -Iinclude -I\"${JAVA_HOME}/include/\" -I\"${JAVA_HOME}/include/$HOST/\""
LDFLAGS="${LDFLAGS} -shared -static -static-libgcc -Wl,--kill-at"
LIBFILE="lib/freenet/support/CPUInformation/jcpuid-${ARCH}-windows.dll";;
Darwin*)