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>
This commit is contained in:
Dirk Hohndel 2017-01-21 06:38:22 -08:00
parent 8adcc406c7
commit 273550b4e8

View file

@ -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