From c944251ca6eaf8ef72610f5f43f5c06e779b4a6f Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Thu, 24 Nov 2022 20:38:38 +0000 Subject: [PATCH] revert back makefile change --- bindings/java/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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