summaryrefslogtreecommitdiff
path: root/channels/Makefile
diff options
context:
space:
mode:
authorMartin Pycko <martinp@digium.com>2003-10-16 21:11:29 +0000
committerMartin Pycko <martinp@digium.com>2003-10-16 21:11:29 +0000
commit13b7b73b08696e3742dc792a17b97a07ad51ac8f (patch)
treecc2f2933e7a795828dc45967623934d3a58b9973 /channels/Makefile
parentd5b54e4b7f808e545eb37c1dcd5d2eb0613c4bae (diff)
Revert the previous patch since it's braking compilation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/Makefile')
-rwxr-xr-xchannels/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/channels/Makefile b/channels/Makefile
index 82d524a7f..44f614e68 100755
--- a/channels/Makefile
+++ b/channels/Makefile
@@ -91,13 +91,12 @@ ringtone.h: gentone
chan_oss.o: chan_oss.c busy.h ringtone.h
-ifeq (${OSARCH},OpenBSD)
-chan_oss.so: chan_oss.o
- $(CC) -shared -Xlinker -x -o $@ chan_oss.o -lossaudio
-endif
-
chan_iax2.so: chan_iax2.o iax2-parser.o
+ifeq (${OSARCH},Linux)
$(CC) -shared -Xlinker -x -o $@ chan_iax2.o iax2-parser.o
+else
+ $(CC) -shared -Xlinker -x -o $@ chan_iax2.o iax2-parser.o -lossaudio
+endif
chan_zap.o: $(CHANZAP)
$(CC) -c $(CFLAGS) -o chan_zap.o $(CHANZAP)