OSDN Git Service

libdts and lame sometimes need -lm
authorMåns Rullgård <mans@mansr.com>
Tue, 24 Oct 2006 21:58:50 +0000 (21:58 +0000)
committerMåns Rullgård <mans@mansr.com>
Tue, 24 Oct 2006 21:58:50 +0000 (21:58 +0000)
Originally committed as revision 6791 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 8e360d9..6380eee 100755 (executable)
--- a/configure
+++ b/configure
@@ -1302,9 +1302,9 @@ if enabled pthreads; then
 fi
 
 # these are off by default, so fail if requested and not available
-enabled dts     && require libdts dts.h dts_init -ldts
+enabled dts     && require libdts dts.h dts_init -ldts -lm
 enabled libgsm  && require libgsm gsm.h gsm_create -lgsm
-enabled mp3lame && require LAME lame/lame.h lame_init -lmp3lame
+enabled mp3lame && require LAME lame/lame.h lame_init -lmp3lame -lm
 enabled vorbis  && require libvorbis vorbis/vorbisenc.h vorbis_info_init -lvorbis -lvorbisenc -logg
 enabled libogg  && require libogg ogg/ogg.h ogg_sync_init -logg
 enabled xvid    && require XviD xvid.h xvid_global -lxvidcore