Skip to content

Commit c1dbd00

Browse files
committed
Make Makefile feel better about jdk env vars in paths with spaces in them
1 parent 1bb5d4e commit c1dbd00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inc/Makefile-conf.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ OBJECTFILES = ${OBJECTDIR}/argparser.o \
3232

3333
ifdef JAVA_HOME
3434
JAVA_INCLUDE = $(subst \,/,${JAVA_HOME})/include
35-
INCLUDES = -I${JAVA_INCLUDE}
35+
INCLUDES = "-I${JAVA_INCLUDE}"
3636
endif
3737

3838
ifdef MINGW
3939
OBJECTFILES += ${OBJECTDIR}/utilsfuncswin.o \
4040
${OBJECTDIR}/platformlauncher.o \
4141
${OBJECTDIR}/jvmlauncher.o \
4242
${OBJECTDIR}/jruby.o
43-
INCLUDES += -I${JAVA_INCLUDE}/win32
43+
INCLUDES += "-I${JAVA_INCLUDE}/win32"
4444
else
4545
OBJECTFILES += ${OBJECTDIR}/unixlauncher.o
4646
endif

0 commit comments

Comments
 (0)