diff --git a/native/compile-linux.sh b/native/compile-linux.sh index b55fcf554..5e5354976 100755 --- a/native/compile-linux.sh +++ b/native/compile-linux.sh @@ -4,7 +4,7 @@ MBEDTLS_ROOT=mbedtls CFLAGS="-O3 -I$JAVA_HOME/include/ -I$JAVA_HOME/include/linux/ -fPIC -shared" gcc $CFLAGS -lz src/main/c/jni_util.c src/main/c/jni_zlib_deflate.c src/main/c/jni_zlib_inflate.c \ - -o src/main/resources/linux_x64/velocity-compress.so + src/main/c/jni_zlib_common.c -o src/main/resources/linux_x64/velocity-compress.so gcc $CFLAGS -I $MBEDTLS_ROOT/include -shared $MBEDTLS_ROOT/library/aes.c $MBEDTLS_ROOT/library/aesni.c \ $MBEDTLS_ROOT/library/platform.c $MBEDTLS_ROOT/library/platform_util.c src/main/c/jni_util.c src/main/c/jni_cipher.c \ -o src/main/resources/linux_x64/velocity-cipher.so \ No newline at end of file diff --git a/native/src/main/resources/linux_x64/velocity-compress.so b/native/src/main/resources/linux_x64/velocity-compress.so index 53a2d8597..7bd32162d 100755 Binary files a/native/src/main/resources/linux_x64/velocity-compress.so and b/native/src/main/resources/linux_x64/velocity-compress.so differ