From 9080b462b6c2228b4f46198c0171585d02e672f6 Mon Sep 17 00:00:00 2001 From: Joshua Warner Date: Mon, 4 Nov 2013 17:26:57 -0700 Subject: [PATCH] fix jni_md.h not found 10.9 problem --- makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 9108ecc6b5..c55ce91aed 100755 --- a/makefile +++ b/makefile @@ -474,8 +474,7 @@ endif ifeq ($(build-platform),darwin) build-cflags = $(common-cflags) -fPIC -fvisibility=hidden -I$(src) - cflags += -I/System/Library/Frameworks/JavaVM.framework/Headers/ \ - -Wno-deprecated-declarations + cflags += -Wno-deprecated-declarations build-lflags += -framework CoreFoundation endif @@ -691,6 +690,8 @@ ifeq ($(platform),darwin) asmflags += -arch x86_64 lflags += -arch x86_64 endif + + cflags += -I$(JAVA_HOME)/include/darwin endif openjdk-extra-cflags += $(classpath-extra-cflags)