We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
log10
1 parent 9a0d968 commit 0c666a9Copy full SHA for 0c666a9
genbindings.sh
@@ -158,7 +158,7 @@ if [ "$2" != "wasm" ]; then
158
popd
159
LDK_LIB="tmp/libldk.bc tmp/libldk.a"
160
fi
161
- $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
162
if [ "$IS_MAC" = "false" -a "$4" = "false" ]; then
163
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)"
164
if [ "$GLIBC_SYMBS" != "" ]; then
0 commit comments