summaryrefslogtreecommitdiffstats
path: root/make/gluegen-cpptasks-base.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-11-05 05:33:15 +0100
committerSven Gothel <[email protected]>2011-11-05 05:33:15 +0100
commite4b3cbde5bf59521ed8bf1f15f3378a7c14b4391 (patch)
treea78404d5b451158b7fc1147f9629575784b89542 /make/gluegen-cpptasks-base.xml
parentef30b77fab27262f8b5ef3f98880c0caec30bab5 (diff)
gluegen/OSX: Add property java.osx.frameworks.dir
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>