Skip to content

Commit

Permalink
openssl: Add SONAME to shared libraries
Browse files Browse the repository at this point in the history
Possible fix for #9174
  • Loading branch information
thunder-coding committed Mar 1, 2022
1 parent c0f00c9 commit 6ec87d7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/openssl/Configurations-15-android.conf.patch
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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.
#
Expand Down
1 change: 1 addition & 0 deletions packages/openssl/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6ec87d7

Please sign in to comment.