Merge pull request #10 from tbenr/patch-1
Java binding compilation improvement for macos
This commit is contained in:
commit
438ebf874b
|
@ -16,12 +16,19 @@ else
|
|||
LIBRARY_RESOURCE=libckzg4844jni.so
|
||||
endif
|
||||
ifeq ($(UNAME_S),Darwin)
|
||||
ifeq ($(JAVA_HOME),)
|
||||
JAVA_HOME := $(shell /usr/libexec/java_home)
|
||||
endif
|
||||
CLANG_FLAGS=-dynamiclib
|
||||
JNI_INCLUDE_FOLDER=darwin
|
||||
LIBRARY_RESOURCE=libckzg4844jni.dylib
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(JAVA_HOME),)
|
||||
$(error JAVA_HOME is not set and autodetection failed)
|
||||
endif
|
||||
|
||||
all: build test
|
||||
|
||||
build:
|
||||
|
|
Loading…
Reference in New Issue