From: ddennedy Date: Tue, 18 Mar 2008 04:42:57 +0000 (+0000) Subject: avformat/configure: improve chances of successful linking with -svn and -static options X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=9f31391c736eb3632cc39a9cda1e018329ae25ae;p=melted avformat/configure: improve chances of successful linking with -svn and -static options git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1106 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/src/modules/avformat/configure b/src/modules/avformat/configure index 3396944..b00de77 100755 --- a/src/modules/avformat/configure +++ b/src/modules/avformat/configure @@ -96,6 +96,7 @@ else [ $targetos = "Darwin" ] && echo "LDFLAGS+=-single_module" >> config.mak echo "LOCAL_FFMPEG=1" >> config.mak + echo "LDFLAGS+=-Wl,-Bsymbolic" >> config.mak extra_libs="$extra_libs -lz" elif [ "$static_ffmpeg" != "" ] then @@ -111,6 +112,8 @@ else echo "LDFLAGS+=-L$static_ffmpeg/libswscale" >> config.mak echo "SWSCALE=1" >> config.mak fi + echo "LDFLAGS+=-Wl,-Bsymbolic" >> config.mak + extra_libs="$extra_libs -lz" else echo "avformat: Invalid path specified: $static_ffmpeg" touch ../disable-avformat