From e174c0bb9abc1eb8aeee357cdf53d17747298d8f Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Mon, 3 Aug 2009 14:46:18 +0200 Subject: [PATCH] Move to configure CONFIG_SOLARIS libraries needed always Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori Message-Id: --- Makefile | 4 ---- Makefile.target | 1 - configure | 1 + 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 75df24a73d..a79d1d31fd 100644 --- a/Makefile +++ b/Makefile @@ -27,10 +27,6 @@ else DOCS= endif -ifdef CONFIG_SOLARIS -LIBS+=-lsocket -lnsl -lresolv -endif - ifdef CONFIG_WIN32 LIBS+=-lwinmm -lws2_32 -liphlpapi endif diff --git a/Makefile.target b/Makefile.target index 090efb0078..1f98862204 100644 --- a/Makefile.target +++ b/Makefile.target @@ -52,7 +52,6 @@ ifdef CONFIG_WIN32 LIBS+=-lwinmm -lws2_32 -liphlpapi endif ifdef CONFIG_SOLARIS -LIBS+=-lsocket -lnsl -lresolv ifdef CONFIG_NEEDS_LIBSUNMATH LIBS+=-lsunmath LDFLAGS+=-L/opt/SUNWspro/prod/lib -R/opt/SUNWspro/prod/lib diff --git a/configure b/configure index 0f76f089c9..09604232af 100755 --- a/configure +++ b/configure @@ -321,6 +321,7 @@ SunOS) fi audio_possible_drivers="oss sdl" CFLAGS="-std=gnu99 $CFLAGS" + LIBS="-lsocket -lnsl -lresolv $LIBS" ;; AIX) aix="yes"