summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/solaris2.x4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/solaris2.x b/config/solaris2.x
index 894988b..d794d11 100644
--- a/config/solaris2.x
+++ b/config/solaris2.x
@@ -18,7 +18,6 @@ fi
# Try solaris native compiler flags
if test "X-" = "X-$cc_flags_set"; then
CFLAGS="-erroff=%none -DBSD_COMP"
- LIBS="$LIBS -lsocket"
DEBUG_CFLAGS=-g
DEBUG_CPPFLAGS=
PROD_CFLAGS="-O -s"
@@ -31,3 +30,6 @@ if test "X-" = "X-$cc_flags_set"; then
($CC -V 2>&1) | grep -s 'cc: .* C 4\.' >/dev/null 2>&1 \
&& PROD_CFLAGS="`echo $PROD_CFLAGS | sed -e 's/-O//'`"
fi
+
+# Add socket lib for the Stream Virtual File Driver
+LIBS="$LIBS -lsocket"