configure: Add a SONAME entry for the android target
[libav.git] / configure
index 7e80f9a..f5a9a26 100755 (executable)
--- 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"