summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorlumag <lumag@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-10-06 07:21:01 +0000
committerlumag <lumag@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-10-06 07:21:01 +0000
commitbecb080bd6ebfe36290a2d53385869cb33346bd3 (patch)
treeda5cde3bac7f4c51e3d93639aabea5156f142f44 /configure
parent8644846c0448d3c30dc08e4fcb4eadbbf1199f20 (diff)
downloadmpv-becb080bd6ebfe36290a2d53385869cb33346bd3.tar.bz2
mpv-becb080bd6ebfe36290a2d53385869cb33346bd3.tar.xz
Fix external FLAC detection on Mandrake.
Patch by G:otz Waschk <waschk at informatik dot uni-rostock dot de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11025 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 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