diff --git a/native/build-support/compile-macos.sh b/native/build-support/compile-macos.sh index 7120cbe5f..04e11d60e 100755 --- a/native/build-support/compile-macos.sh +++ b/native/build-support/compile-macos.sh @@ -11,7 +11,7 @@ fi echo "Compiling libdeflate..." cd libdeflate || exit -cmake -B build && cmake --build build --target libdeflate_static +rm -rf build && cmake -B build && cmake --build build --target libdeflate_static cd .. CFLAGS="-O2 -I$JAVA_HOME/include/ -I$JAVA_HOME/include/darwin/ -fPIC -shared -Wall -Werror -fomit-frame-pointer" diff --git a/native/src/main/resources/macos_arm64/velocity-compress.dylib b/native/src/main/resources/macos_arm64/velocity-compress.dylib new file mode 100755 index 000000000..5ccce7c83 Binary files /dev/null and b/native/src/main/resources/macos_arm64/velocity-compress.dylib differ