diff --git a/bindings/java/Makefile b/bindings/java/Makefile index 6529743..f11a6da 100644 --- a/bindings/java/Makefile +++ b/bindings/java/Makefile @@ -10,14 +10,15 @@ else CLANG_EXECUTABLE=clang GRADLE_COMMAND=./gradlew UNAME_S := $(shell uname -s) + ifeq ($(UNAME_S),Linux) + CLANG_FLAGS=-fPIC -shared + JNI_INCLUDE_FOLDER=linux + LIBRARY_RESOURCE=libckzg4844jni.so + endif ifeq ($(UNAME_S),Darwin) CLANG_FLAGS=-dynamiclib JNI_INCLUDE_FOLDER=darwin LIBRARY_RESOURCE=libckzg4844jni.dylib - else - CLANG_FLAGS=-fPIC -shared - JNI_INCLUDE_FOLDER=linux - LIBRARY_RESOURCE=libckzg4844jni.so endif endif