aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-10-30 07:24:27 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-10-30 07:24:27 +0000
commit2f31af92de34047acd397353b3778d9a181c22b5 (patch)
treebcab0688fd19d7e33cbe299b99aa3fde955a3f6e /utils
parentadd00621601c6dbf3b3577a004cbfacff1184c39 (diff)
Fix build of CVS head on Solaris (bug #5527)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6895 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils')
-rwxr-xr-xutils/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 0f4cd4409..a07a39da7 100755
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -32,6 +32,7 @@ endif
ifeq (${OSARCH},SunOS)
SOL=../strcompat.o
+ SOLLIBS=-lsocket -lnsl
endif
all: depend $(TARGET)
@@ -66,7 +67,7 @@ smsq: smsq.o
$(CC) $(CFLAGS) -o smsq ${SOL} smsq.o -lpopt
streamplayer: streamplayer.o
- $(CC) $(CFLAGS) -o streamplayer ${SOL} streamplayer.o
+ $(CC) $(CFLAGS) -o streamplayer ${SOL} streamplayer.o ${SOLLIBS}
ifneq ($(wildcard .depend),)
include .depend