From d8e7f875068e2305dec1d0ab4de43dd69803c8ba Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Fri, 11 Jan 2019 14:15:07 -0500 Subject: [PATCH] Forgot to update the JNI compile script for Linux. --- native/compile-linux.sh | 2 +- .../resources/linux_x64/velocity-compress.so | Bin 13928 -> 14056 bytes 2 files changed, 1 insertion(+), 1 deletion(-) 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 53a2d8597a8977a556696de6072c2ed8310f95e6..7bd32162da386343ad92bda26bac30cd168853fe 100755 GIT binary patch delta 4601 zcmZu#3s6+o89sNHRd(68EDOlvE+T>t7F5uhQdvZEK_+68pI3?14|eI$dAn%d?;lo*}SshC!GjfsyuzzEs?|GDSry5`L6{qFyr z|8dTL9`~H}*ZJ$aVr`8k!b-jh@iEFWe0y0ck1{7)8^opHGQaHgP$FK=y5Fkwn!vWYPVW`UlLu_86mN{ zXy7qOEd1i&ha~}iiR|t1Bl+7niRC*qGu0J#O)`dIfB`XRhk~5h*j{5GI zFRx#bQ0&{ZEA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