aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--Makefile.target1
-rwxr-xr-xconfigure1
3 files changed, 1 insertions, 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"