revert back makefile change

This commit is contained in:
Stefan Bratanov 2022-11-24 20:38:38 +00:00
parent 74de86964c
commit c944251ca6
1 changed files with 5 additions and 4 deletions

View File

@ -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