Fix chan_spy on Solaris (bug #4204)
authorMark Spencer <markster@digium.com>
Sun, 8 May 2005 17:01:42 +0000 (17:01 +0000)
committerMark Spencer <markster@digium.com>
Sun, 8 May 2005 17:01:42 +0000 (17:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5603 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/Makefile

index e1eb61f..d700cc6 100755 (executable)
@@ -115,6 +115,12 @@ app_sql_odbc.so: app_sql_odbc.o
 look:  look.c
        $(CC) -pipe -O6 -g look.c -o look -lncurses
 
+ifeq (SunOS,$(shell uname))
+app_chanspy.so: app_chanspy.o
+       $(CC) $(SOLINK) -o $@ $< -lrt
+endif
+
+
 ifneq ($(wildcard .depend),)
 include .depend
 endif