diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-10-11 23:44:08 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-10-11 23:44:08 +0000 |
commit | 45adb1eb8f8f230523fddb8148ece41ec735937d (patch) | |
tree | b81949b4c4e30c4d1bcdd68853b60b15aaa76044 | |
parent | a928894eaacd110966cce27e09568094bed4c3ef (diff) |
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
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |