Skip to content

Commit 406145a

Browse files
Disable UPX. Breaks on shared libraries
1 parent 2342d49 commit 406145a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

build_android.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,16 @@ do
7979
abi=$(basename $build_target)
8080
build_type=$(basename ${build_target%$abi})
8181

82+
# ######
83+
# UPX disabled because it fails for shared libraries...
84+
# ######
8285
# UPX only works on armeabi-v7a
8386
# Other ABIs produce segfaults.
8487
# Also no point in compressing debug builds.
85-
if test $abi = "armeabi-v7a" && test "$build_type" != "debug"
86-
then
87-
upx --ultra-brute --8mib-ram $build_target/built/lib/libpdf2htmlEX.so
88-
fi
88+
#if test $abi = "armeabi-v7a" && test "$build_type" != "debug"
89+
#then
90+
# upx --ultra-brute --8mib-ram $build_target/built/lib/libpdf2htmlEX.so
91+
#fi
8992
done
9093

9194
# Rename .cmake.in to .cmake and pack it into .tar

0 commit comments

Comments
 (0)