Mercurial > hg > octave-jordi
changeset 18275:508f67c72854 stable
Fix native MinGW builds with spaces in JAVA_HOME (bug #41024).
* configure.ac: Use quotes around JAVA_HOME, JAVA_CPPFLAGS variables on Windows
platforms.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 14 Jan 2014 12:38:25 -0800 |
parents | e243b705a726 |
children | cc1c19863ae3 |
files | configure.ac |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac +++ b/configure.ac @@ -2563,9 +2563,9 @@ JAVA_LIBS=-ladvapi32 if test $have_msvc = no; then if test -n "$JAVA_CPPFLAGS"; then - JAVA_CPPFLAGS="-I${JAVA_CPPFLAGS} -I${JAVA_CPPFLAGS}/win32" + JAVA_CPPFLAGS="-I\"${JAVA_CPPFLAGS}\" -I\"${JAVA_CPPFLAGS}/win32\"" else - JAVA_CPPFLAGS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/win32" + JAVA_CPPFLAGS="-I\"${JAVA_HOME}/include\" -I\"${JAVA_HOME}/include/win32\"" fi LDFLAGS="$LDFLAGS -Wl,--export-all-symbols" fi