summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-01-21 06:38:22 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-01-21 14:28:35 -0800
commit273550b4e81ad9e3c87d3984977256f55e1bc3f4 (patch)
tree21b4ed7952ade830b8daf404c9385b45a04a1cdc /packaging
parent8adcc406c7ea18992c4695b99cead112d0cc673a (diff)
downloadsubsurface-273550b4e81ad9e3c87d3984977256f55e1bc3f4.tar.gz
Android build.sh: fix libcrypto dependency in libssl
Using a binary patch seems harch, but it also seems to work. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/android/build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/android/build.sh b/packaging/android/build.sh
index 11ec14e78..3cfaf4795 100644
--- a/packaging/android/build.sh
+++ b/packaging/android/build.sh
@@ -209,6 +209,8 @@ if [ ! -e "$PKG_CONFIG_LIBDIR/libssl.pc" ] ; then
# sed -i.bak -e 's/soname=\$\$SHLIB\$\$SHLIB_SOVER\$\$SHLIB_SUFFIX/soname=\$\$SHLIB/g' Makefile.shared
make depend
make
+ # now fix the reference to libcrypto.so.1.0.0 to be just to libcrypto.so
+ perl -pi -e 's/libcrypto.so.1.0.0/libcrypto.so\x00\x00\x00\x00\x00\x00/' libssl.so.1.0.0
make install_sw
popd
fi