Skip to content

Commit

Permalink
Merge pull request #231 from fwolter/fix-win-build
Browse files Browse the repository at this point in the history
Fix build if JAVA_HOME contains spaces
  • Loading branch information
fwolter authored Aug 15, 2022
2 parents 7aa21d1 + 4c4d9e9 commit 2ff1218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ include platform.mk
# In all cases, we want to include the system JNI headers, our own headers,
# crank the optimization level, and compile position-independent code so that
# it will work as a library (dlopen(3) et al. can load it into any memory).
export CFLAGS ?= -I$(JAVA_HOME)/include -I./include -I./include/target \
export CFLAGS ?= -I"$(JAVA_HOME)/include" -I./include -I./include/target \
-O3 -fPIC -c \
-Wall
# We want to use the compiler frontend to invoke the linker, too.
Expand Down

0 comments on commit 2ff1218

Please sign in to comment.