diff --git a/bindings/java/Makefile b/bindings/java/Makefile index 9b8ea01..815866d 100644 --- a/bindings/java/Makefile +++ b/bindings/java/Makefile @@ -19,7 +19,11 @@ else ifeq ($(UNAME_S),Linux) CLANG_FLAGS=-fPIC -shared JNI_INCLUDE_FOLDER=linux - OS_ARCH=$(UNAME_M) + ifeq ($(UNAME_M),x86_64) + OS_ARCH=amd64 + else + OS_ARCH=$(UNAME_M) + endif LIBRARY_RESOURCE=libckzg4844jni.so endif ifeq ($(UNAME_S),Darwin)