Mercurial > mplayer.hg
changeset 19354:cd767a4c8b94
-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
author | reimar |
---|---|
date | Tue, 08 Aug 2006 11:55:23 +0000 |
parents | 12438ab529f9 |
children | ba95c4fa0684 |
files | configure |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Tue Aug 08 09:29:15 2006 +0000 +++ b/configure Tue Aug 08 11:55:23 2006 +0000 @@ -5565,7 +5565,7 @@ #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 @@ _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'