openssl: Add SONAME to shared libraries

Possible fix for #9174
This commit is contained in:
Yaksh Bariya 2022-02-28 15:12:39 +05:30 committed by YAKSH BARIYA
parent c0f00c9137
commit 6ec87d7b0a
2 changed files with 9 additions and 3 deletions

View File

@ -1,6 +1,6 @@
--- ./Configurations/15-android.conf.orig 2021-10-04 14:25:47.176057752 +0530
+++ ./Configurations/15-android.conf 2021-10-04 14:33:03.366057586 +0530
@@ -184,10 +184,10 @@
--- a/Configurations/15-android.conf
+++ b/Configurations/15-android.conf
@@ -184,14 +184,14 @@
# systems are perfectly capable of executing binaries targeting
# Froyo. Keep in mind that in the nutshell Android builds are
# about JNI, i.e. shared libraries, not applications.
@ -15,6 +15,11 @@
bin_cflags => "-fPIE",
bin_lflags => "-pie",
enable => [ ],
- shared_extension => ".so",
+ shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)",
},
"android-arm" => {
################################################################
@@ -222,13 +222,13 @@
# Newer NDK versions reportedly require additional -latomic.
#

View File

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Library implementing the SSL and TLS protocols as well a
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=3.0.1
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://www.openssl.org/source/openssl-${TERMUX_PKG_VERSION/\~/-}.tar.gz
TERMUX_PKG_SHA256=c311ad853353bce796edad01a862c50a8a587f62e7e2100ef465ab53ec9b06d1
TERMUX_PKG_DEPENDS="ca-certificates, zlib"