aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/native/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/native/windows')
-rw-r--r--src/main/native/windows/build_windows_jni.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/native/windows/build_windows_jni.sh b/src/main/native/windows/build_windows_jni.sh
index 5d39b8f436..ad52518ea2 100644
--- a/src/main/native/windows/build_windows_jni.sh
+++ b/src/main/native/windows/build_windows_jni.sh
@@ -99,7 +99,7 @@ cat > "${VSTEMP}/windows_jni.bat" <<EOF
@call "${VSVARS}" amd64
@cd $(cygpath -a -w "${PWD}")
@set TMP=$(cygpath -a -w "${VSTEMP}")
-@CL /O2 /EHsc /LD /Fe:"$(cygpath -a -w ${DLL})" /I "${VSTEMP}" /I . ${WINDOWS_SOURCES[*]}
+@CL /O2 /EHsc /LD /Fe:"$(cygpath -a -w ${DLL})" /I "%TMP%" /I . ${WINDOWS_SOURCES[*]}
EOF
# Invoke the file and hopefully generate the .DLL .