From: Juan Quintela Date: Mon, 3 Aug 2009 12:46:18 +0000 (+0200) Subject: Move to configure CONFIG_SOLARIS libraries needed always X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e174c0bb9abc1eb8aeee357cdf53d17747298d8f;p=qmiga%2Fqemu.git Move to configure CONFIG_SOLARIS libraries needed always Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori Message-Id: --- 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"