From 45adb1eb8f8f230523fddb8148ece41ec735937d Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 11 Oct 2005 23:44:08 +0000 Subject: [PATCH] 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 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index f3c76f3f6c..06767bf652 100755 --- a/configure +++ b/configure @@ -2484,7 +2484,7 @@ cat > $TMPC << EOF #include 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