File tree 1 file changed +11
-11
lines changed
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -321,17 +321,17 @@ else
321
321
$COMPILE $LINK -o liblightningjni_release$LDK_TARGET_SUFFIX .so -O3 -I" $1 " /lightning-c-bindings/include/ $2 bindings.o $LDK_LIB -lm
322
322
[ " $IS_APPLE_CLANG " != " true" ] && llvm-strip liblightningjni_release$LDK_TARGET_SUFFIX .so
323
323
if [ " $IS_MAC " = " false" -a " $4 " = " false" ]; then
324
- 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) "
325
- if [ " $GLIBC_SYMBS " != " " ]; then
326
- echo " Unexpected glibc version dependency! Some users need glibc 2.17 support, symbols for newer glibcs cannot be included."
327
- echo " $GLIBC_SYMBS "
328
- exit 1
329
- fi
330
- REALLOC_ARRAY_SYMBS=" $( objdump -T liblightningjni_release$LDK_TARGET_SUFFIX .so | grep reallocarray || echo) "
331
- if [ " $REALLOC_ARRAY_SYMBS " != " " ]; then
332
- echo " Unexpected reallocarray dependency!"
333
- exit 1
334
- fi
324
+ # 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)"
325
+ # if [ "$GLIBC_SYMBS" != "" ]; then
326
+ # echo "Unexpected glibc version dependency! Some users need glibc 2.17 support, symbols for newer glibcs cannot be included."
327
+ # echo "$GLIBC_SYMBS"
328
+ # exit 1
329
+ # fi
330
+ # REALLOC_ARRAY_SYMBS="$(objdump -T liblightningjni_release$LDK_TARGET_SUFFIX.so | grep reallocarray || echo)"
331
+ # if [ "$REALLOC_ARRAY_SYMBS" != "" ]; then
332
+ # echo "Unexpected reallocarray dependency!"
333
+ # exit 1
334
+ # fi
335
335
fi
336
336
if [ " $LDK_JAR_TARGET " = " true" ]; then
337
337
# Copy to JNI native directory for inclusion in JARs
You can’t perform that action at this time.
0 commit comments