summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2015-10-29 14:01:07 +0100
committerLuca Barbato <lu_zero@gentoo.org>2015-10-30 13:02:02 +0100
commita0562e531723923b632684c7b51a9dd584bf534f (patch)
tree993181a4e42b63f2dd5ff94588536ddcb94d302c /configure
parentd35d0c723e3c8fc8cde76bf677f67928f5e179a8 (diff)
configure: Add a SONAME entry for the android target
In order to load libraries in Android they need to be unversioned. The android target section was derived from the BSD ones, and they that simply drop the SONAME Android M requires to have a SONAME entry but unversioned.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index 7e80f9a6c1..f5a9a2690f 100755
--- a/configure
+++ b/configure
@@ -3591,8 +3591,7 @@ case $target_os in
enable section_data_rel_ro
SLIB_INSTALL_NAME='$(SLIBNAME)'
SLIB_INSTALL_LINKS=
- # soname not set on purpose
- SHFLAGS=-shared
+ SHFLAGS='-shared -Wl,-soname,$(SLIBNAME)'
;;
haiku)
prefix_default="/boot/common"