Skip to content

Instantly share code, notes, and snippets.

@luca3m
Created November 8, 2014 17:05
Show Gist options
  • Save luca3m/dc32e1fe9a12675ef300 to your computer and use it in GitHub Desktop.
Save luca3m/dc32e1fe9a12675ef300 to your computer and use it in GitHub Desktop.
octave-3.8.1-yosemite.patch
--- b/configure.ac 2014-11-08 15:27:56.000000000 +0100
+++ a/configure.ac 2014-11-08 15:29:21.000000000 +0100
@@ -2651,7 +2651,7 @@
if test -n "$JAVA_CPPFLAGS"; then
JAVA_CPPFLAGS="-I${JAVA_CPPFLAGS}"
else
- JAVA_CPPFLAGS="-I${JAVA_HOME}/include -I/System/Library/Frameworks/JavaVM.framework/Home/include -I/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers"
+ JAVA_CPPFLAGS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/darwin"
fi
JAVA_LIBS="-framework JavaVM"
;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment