1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 19:05:33 +00:00

-lm needs to come before -laudio to avoid link errors in the NAS check.

patch by Bernd Ernesti, mplayer-dev-eng [{at}] lists [{dot}] veego [{dot}] de


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19640 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-09-02 15:48:21 +00:00
parent bce3947fbc
commit 5a45cb6492

2
configure vendored
View File

@ -4592,7 +4592,7 @@ if test "$_nas" = auto ; then
int main(void) { return 0; }
EOF
_nas=no
cc_check -laudio -lXt $_ld_x11 $_ld_lm && _nas=yes
cc_check $_ld_lm -laudio -lXt $_ld_x11 && _nas=yes
fi
if test "$_nas" = yes ; then
_def_nas='#define HAVE_NAS 1'