mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 22:37:28 +01:00
maybe fixed mp3lame version check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9309 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
791ef0eec2
commit
f3b348510a
2
configure
vendored
2
configure
vendored
@ -4254,7 +4254,7 @@ if test "$_mencoder" != no ; then
|
||||
int main(void) { lame_version_t lv; (void) lame_init(); get_lame_version_numerical(&lv); printf("%d%d\n",lv.major,lv.minor); return 0; }
|
||||
EOF
|
||||
# Note: libmp3lame usually depends on vorbis
|
||||
cc_check -lmp3lame $_ld_vorbis -lm && _mp3lame=yes
|
||||
cc_check -lmp3lame $_ld_vorbis -lm && ( "$TMPO" >> "$TMPLOG" 2>&1 ) && _mp3lame=yes
|
||||
if test "$_mp3lame" = yes ; then
|
||||
_def_mp3lame="#define HAVE_MP3LAME `$TMPO`"
|
||||
_ld_mp3lame="-lmp3lame $_ld_vorbis"
|
||||
|
Loading…
Reference in New Issue
Block a user