From becb080bd6ebfe36290a2d53385869cb33346bd3 Mon Sep 17 00:00:00 2001 From: lumag Date: Mon, 6 Oct 2003 07:21:01 +0000 Subject: [PATCH] Fix external FLAC detection on Mandrake. Patch by G:otz Waschk git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11025 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index f086ac33dc..a3c1542ca4 100755 --- a/configure +++ b/configure @@ -5267,7 +5267,7 @@ int main() } EOF _flac=no - if cc_check -lFLAC ; then + if cc_check -lFLAC -lm ; then _flac=external fi else @@ -5280,7 +5280,7 @@ if test "$_flac" = external ; then #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