aboutsummaryrefslogtreecommitdiffstats
path: root/apps/Makefile
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-08 17:01:42 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-08 17:01:42 +0000
commitd29b05e5a75af26c94a799ca25c5f5b6bed8d739 (patch)
treeb7d3f1f83f48af3bbdadcb278fe828e0fa7dfe94 /apps/Makefile
parent278f8fd014876376aaf7e63c87266acf1d113ec6 (diff)
Fix chan_spy on Solaris (bug #4204)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5603 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/Makefile')
-rwxr-xr-xapps/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/Makefile b/apps/Makefile
index e1eb61fb9..d700cc68d 100755
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -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