[FFmpeg-cvslog] configure: Add a SONAME entry for the android target
Luca Barbato
git at videolan.org
Mon Nov 2 11:59:08 CET 2015
ffmpeg | branch: master | Luca Barbato <lu_zero at 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"
More information about the ffmpeg-cvslog
mailing list