aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@xbmc.org>2011-02-23 21:16:29 +0200
committerAnssi Hannula <anssi@xbmc.org>2011-02-23 23:49:08 +0200
commitfe6ddc71a8d9e09e5501b692b6e473d5632e9adf (patch)
tree065c553af80dbf458038b68f1ab584ce62d98758
parentebef3c8be4485ffd58ed109dcc1ef826d2304bcc (diff)
changed: sonames to match ffmpeg library names on linux
We rename the ffmpeg libraries to custom names, but the SONAME and NEEDED tags in the libraries are not modified. This confuses some dependency generators into thinking they require the system FFmpeg. Change sonames to match file names to satisfy them. As a bonus, this prevents the dynamic linker from linking in system FFmpeg libraries for the dependencies in case the internal dependency was not already loaded by XBMC in case of a bug.
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index f38e5c2bf3..9109b6f4c4 100644
--- a/configure.in
+++ b/configure.in
@@ -1592,6 +1592,7 @@ XB_CONFIG_MODULE([lib/ffmpeg], [
--enable-protocol=http \
--enable-pthreads \
--enable-runtime-cpudetect \
+ --custom-libname-with-major="\$(FULLNAME)-\$(LIBMAJOR)-${ARCH}\$(SLIBSUF)" \
`case $host_cpu in i?86*) echo --disable-pic ;; *) echo --enable-pic ;; esac` \
--cc="$CC" &&
sed -i -e "s#define HAVE_SYMVER 1#define HAVE_SYMVER 0#" config.h &&