From 0c666a965ed8a156d4dc960f2f346e357283bf9d Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 23 Mar 2022 22:22:33 +0000 Subject: [PATCH] [Java] Link libmath for `log10` (REVERT FOR 0.0.106) --- genbindings.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genbindings.sh b/genbindings.sh index 0c2a8982..e2a6ca7c 100755 --- a/genbindings.sh +++ b/genbindings.sh @@ -158,7 +158,7 @@ if [ "$2" != "wasm" ]; then popd LDK_LIB="tmp/libldk.bc tmp/libldk.a" fi - $COMPILE -o liblightningjni_release$LDK_TARGET_SUFFIX.so -flto -O3 -I"$1"/lightning-c-bindings/include/ $2 src/main/jni/bindings.c $LDK_LIB + $COMPILE -o liblightningjni_release$LDK_TARGET_SUFFIX.so -flto -O3 -I"$1"/lightning-c-bindings/include/ $2 src/main/jni/bindings.c $LDK_LIB -lm if [ "$IS_MAC" = "false" -a "$4" = "false" ]; then GLIBC_SYMBS="$(objdump -T liblightningjni_release$LDK_TARGET_SUFFIX.so | grep GLIBC_ | grep -v "GLIBC_2\.2\." | grep -v "GLIBC_2\.3\(\.\| \)" | grep -v "GLIBC_2.\(14\|17\) " || echo)" if [ "$GLIBC_SYMBS" != "" ]; then -- 2.39.5