[jffi-next] 08/49: For MacOS, add system jvm headers to include path
Tim Potter
tpot-guest at moszumanska.debian.org
Wed Mar 4 04:51:08 UTC 2015
This is an automated email from the git hooks/post-receive script.
tpot-guest pushed a commit to annotated tag upstream/1.0.10
in repository jffi-next.
commit acbd747b32605c66b027c393e709ea85e42e1461
Author: Wayne Meissner <wmeissner at gmail.com>
Date: Sun Nov 7 16:03:39 2010 +1000
For MacOS, add system jvm headers to include path
---
jni/GNUmakefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/jni/GNUmakefile b/jni/GNUmakefile
index c96eb09..efe6230 100755
--- a/jni/GNUmakefile
+++ b/jni/GNUmakefile
@@ -146,6 +146,7 @@ ifeq ($(OS), darwin)
MACSDK = /Developer/SDKs/MacOSX10.4u.sdk
CFLAGS += -isysroot $(MACSDK) -DTARGET_RT_MAC_CFM=0
+ CFLAGS += -I$(MACSDK)/System/Library/Frameworks/JavaVM.framework/Headers
CFLAGS += $(foreach arch, $(ARCHES),-arch $(arch))
LDFLAGS = $(foreach arch, $(ARCHES),-arch $(arch)) -dynamiclib -framework JavaVM \
-Wl,-syslibroot,$(MACSDK) -mmacosx-version-min=10.4
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jffi-next.git
More information about the pkg-java-commits
mailing list