summaryrefslogtreecommitdiffstats
path: root/make/gluegen-cpptasks-base.xml
diff options
context:
space:
mode:
Diffstat (limited to 'make/gluegen-cpptasks-base.xml')
-rwxr-xr-xmake/gluegen-cpptasks-base.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/make/gluegen-cpptasks-base.xml b/make/gluegen-cpptasks-base.xml
index 63df45b..ada79fd 100755
--- a/make/gluegen-cpptasks-base.xml
+++ b/make/gluegen-cpptasks-base.xml
@@ -1089,6 +1089,11 @@
else="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers">
<available file="/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"/>
</condition>
+ <condition property="java.osx.frameworks.dir"
+ value="/System/Library/Frameworks/JavaVM.framework/Frameworks"
+ else="/OSX/JavaVM.framework/Frameworks/does/not/exist">
+ <available file="/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaNativeFoundation.framework/Headers/JavaNativeFoundation.h"/>
+ </condition>
<property name="java.lib.dir.platform" value="/System/Library/Frameworks/JavaVM.framework/Libraries" />
</target>