summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-10-30 07:24:27 +0000
committerMark Spencer <markster@digium.com>2005-10-30 07:24:27 +0000
commit06320f579085f53646dd2248dc1e9233a8833e90 (patch)
treebcab0688fd19d7e33cbe299b99aa3fde955a3f6e /utils
parent388f958ecc2714820a130b4f9dceb8f3328a3b1e (diff)
Fix build of CVS head on Solaris (bug #5527)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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