diff --git a/native/compile-macos.sh b/native/compile-macos.sh index d920c0921..8beb27ebd 100755 --- a/native/compile-macos.sh +++ b/native/compile-macos.sh @@ -16,7 +16,7 @@ cd .. CFLAGS="-O2 -I$JAVA_HOME/include/ -I$JAVA_HOME/include/darwin/ -fPIC -shared -Wall -Werror -fomit-frame-pointer" ARCH=$(uname -m) -mkdir -p src/main/resources/linux_$ARCH +mkdir -p src/main/resources/macos_$ARCH $CC $CFLAGS -Ilibdeflate src/main/c/jni_util.c src/main/c/jni_zlib_deflate.c src/main/c/jni_zlib_inflate.c \ libdeflate/libdeflate.a -o src/main/resources/macos_$ARCH/velocity-compress.dylib $CC $CFLAGS -shared src/main/c/jni_util.c src/main/c/jni_cipher_macos.c \