summaryrefslogtreecommitdiff
path: root/channels/Makefile
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-12-14 23:36:30 +0000
committerMark Spencer <markster@digium.com>2004-12-14 23:36:30 +0000
commit9d40b8ee8045660d58281553e34b7f45406951c0 (patch)
tree48694f38698e4ead3840305333816193c7fcd8a0 /channels/Makefile
parent0f205bb07903a70272e8ae2403afe20ceb06cedc (diff)
Merge slimey's Solaris compatibility (with small mods) (bug #2740)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/Makefile')
-rwxr-xr-xchannels/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/channels/Makefile b/channels/Makefile
index 9810cec95..5769fc073 100755
--- a/channels/Makefile
+++ b/channels/Makefile
@@ -19,7 +19,7 @@ PROC=$(shell uname -m)
CHANNEL_LIBS=chan_modem.so chan_sip.so \
chan_modem_aopen.so \
- chan_modem_bestdata.so chan_modem_i4l.so \
+ chan_modem_bestdata.so \
chan_agent.so chan_mgcp.so chan_iax2.so \
chan_local.so chan_skinny.so chan_features.so
@@ -52,7 +52,13 @@ H323LIB=-lh323_NetBSD_x86_r
SOLINK+=-L/usr/local/lib
endif
ifneq (${OSARCH},Darwin)
-CHANNEL_LIBS+=chan_oss.so
+ifneq (${OSARCH},SunOS)
+CHANNEL_LIBS+=chan_oss.so chan_modem_i4l.so
+endif
+endif
+
+ifeq (${OSARCH},SunOS)
+SOLINK+=-lrt
endif
CHANNEL_LIBS+=$(shell [ -f /usr/include/linux/ixjuser.h ] && echo chan_phone.so)