[Asterisk-cvs] asterisk/utils Makefile,1.17,1.18

markster markster
Sun Oct 30 02:32:12 CST 2005


Update of /usr/cvsroot/asterisk/utils
In directory mongoose.digium.com:/tmp/cvs-serv13417/utils

Modified Files:
	Makefile 
Log Message:
Fix build of CVS head on Solaris (bug #5527)


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/utils/Makefile,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- Makefile	14 Sep 2005 18:47:54 -0000	1.17
+++ Makefile	30 Oct 2005 07:24:27 -0000	1.18
@@ -32,6 +32,7 @@
 
 ifeq (${OSARCH},SunOS)
   SOL=../strcompat.o
+  SOLLIBS=-lsocket -lnsl
 endif
 
 all: depend $(TARGET)
@@ -66,7 +67,7 @@
 	$(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




More information about the svn-commits mailing list