summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-08 11:55:23 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-08 11:55:23 +0000
commit00c76dea5c1993f00c6af760d157197f1b13fb4a (patch)
tree0859f0a9015adf52f45f486b112362b541acb955 /configure
parent3e1a95f6f999e577913e542ed1761adffe45a261 (diff)
downloadmpv-00c76dea5c1993f00c6af760d157197f1b13fb4a.tar.bz2
mpv-00c76dea5c1993f00c6af760d157197f1b13fb4a.tar.xz
-logg must come before -lvorbisidec since both declare the same symbols.
Otherwise demux_ogg will take have the functions from libogg and the other half from libvorbisidec, ending in a crash git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19360 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index c62853bf9d..80ef1f3883 100755
--- a/configure
+++ b/configure
@@ -5565,7 +5565,7 @@ elif test "$_tremor_external" = auto; then
#include <tremor/ivorbiscodec.h>
int main(void) { vorbis_packet_blocksize(0,0); return 0; }
EOF
- cc_check -lvorbisidec -logg $_ld_lm && _tremor_external=yes && _libvorbis=no
+ cc_check -logg -lvorbisidec $_ld_lm && _tremor_external=yes && _libvorbis=no
fi
if test "$_libvorbis" = auto; then
_libvorbis=no
@@ -5591,7 +5591,7 @@ elif test "$_tremor_external" = yes ; then
_def_tremor='#define TREMOR 1'
_codecmodules="tremor(external) $_codecmodules"
_res_comment="external Tremor"
- _ld_vorbis='-lvorbisidec -logg'
+ _ld_vorbis='-logg -lvorbisidec'
elif test "$_libvorbis" = yes ; then
_vorbis=yes
_def_vorbis='#define HAVE_OGGVORBIS 1'