mirror of
https://github.com/mpv-player/mpv
synced 2025-01-30 19:52:14 +00:00
Put networking lib linker flag checks in the order they were before the
configure cleanup. Fixes build on Solaris. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16736 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a928894eaa
commit
45adb1eb8f
2
configure
vendored
2
configure
vendored
@ -2484,7 +2484,7 @@ cat > $TMPC << EOF
|
||||
#include <netdb.h>
|
||||
int main(void) { (void) gethostbyname(0); return 0; }
|
||||
EOF
|
||||
for _ld_tmp in "-lsocket" "-lnsl" "-lsocket -lnsl" "-lsocket -ldnet" "-lsocket -lbind" ; do
|
||||
for _ld_tmp in "-lsocket -lbind" "-lsocket -ldnet" "-lsocket -lnsl" "-lnsl" "-lsocket" ; do
|
||||
cc_check $_ld_tmp && _ld_sock="$_ld_tmp" && break
|
||||
done
|
||||
if test $_winsock2 = auto && not cygwin ; then
|
||||
|
Loading…
Reference in New Issue
Block a user