changeset 11024:2b5d77008400

Fix external FLAC detection on Mandrake. Patch by G:otz Waschk <waschk at informatik dot uni-rostock dot de>
author lumag
date Mon, 06 Oct 2003 07:21:01 +0000
parents f68acf47c3ed
children ee86d710b030
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Oct 05 21:17:05 2003 +0000
+++ b/configure	Mon Oct 06 07:21:01 2003 +0000
@@ -5267,7 +5267,7 @@
 }
 EOF
     _flac=no
-    if cc_check -lFLAC ; then
+    if cc_check -lFLAC -lm ; then
       _flac=external
     fi
   else
@@ -5280,7 +5280,7 @@
   #Still use dither.c & replay_gain from libmpflac
   _def_mpflac='#undef USE_MPFLAC_DECODER'
   _mpflac='process'
-  _ld_flac='-lFLAC -Llibmpflac -lmpflac'
+  _ld_flac='-lFLAC -lm -Llibmpflac -lmpflac'
   _codecmodules="flac(external) $_codecmodules"
   echores "yes (using external libFLAC)"
 else