@@ -27,10 +27,6 @@ else
DOCS=
endif
-ifdef CONFIG_SOLARIS
-LIBS+=-lsocket -lnsl -lresolv
-endif
-
ifdef CONFIG_WIN32
LIBS+=-lwinmm -lws2_32 -liphlpapi
endif
@@ -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
@@ -321,6 +321,7 @@ SunOS)
fi
audio_possible_drivers="oss sdl"
CFLAGS="-std=gnu99 $CFLAGS"
+ LIBS="-lsocket -lnsl -lresolv $LIBS"
;;
AIX)
aix="yes"
Signed-off-by: Juan Quintela <quintela@redhat.com> --- Makefile | 4 ---- Makefile.target | 1 - configure | 1 + 3 files changed, 1 insertions(+), 5 deletions(-)