Java binding compilation improvement for macos
Tries to get `JAVA_HOME` automatically if not already set
This commit is contained in:
parent
c2ed728b70
commit
0caab36c0b
|
@ -16,6 +16,9 @@ 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
|
||||
|
|
Loading…
Reference in New Issue