ffmpeg | branch: master | Luca Barbato <lu_z...@gentoo.org> | Thu Oct 29 
14:01:07 2015 +0100| [a0562e531723923b632684c7b51a9dd584bf534f] | committer: 
Luca Barbato

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a0562e531723923b632684c7b51a9dd584bf534f
---

 configure |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure b/configure
index 7e80f9a..f5a9a26 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"

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to