mirror of
https://github.com/mpv-player/mpv
synced 2025-03-05 05:37:37 +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:
parent
bce3947fbc
commit
5a45cb6492
2
configure
vendored
2
configure
vendored
@ -4592,7 +4592,7 @@ if test "$_nas" = auto ; then
|
|||||||
int main(void) { return 0; }
|
int main(void) { return 0; }
|
||||||
EOF
|
EOF
|
||||||
_nas=no
|
_nas=no
|
||||||
cc_check -laudio -lXt $_ld_x11 $_ld_lm && _nas=yes
|
cc_check $_ld_lm -laudio -lXt $_ld_x11 && _nas=yes
|
||||||
fi
|
fi
|
||||||
if test "$_nas" = yes ; then
|
if test "$_nas" = yes ; then
|
||||||
_def_nas='#define HAVE_NAS 1'
|
_def_nas='#define HAVE_NAS 1'
|
||||||
|
Loading…
Reference in New Issue
Block a user