aboutsummaryrefslogtreecommitdiffstats
path: root/channels/Makefile
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-10-16 21:11:29 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-10-16 21:11:29 +0000
commitfb06154326720e90c5cee4f3dd1d0ff57a34f5b3 (patch)
treecc2f2933e7a795828dc45967623934d3a58b9973 /channels/Makefile
parent8b42787b24549191ee7af71210b0d3ac9183a80c (diff)
Revert the previous patch since it's braking compilation
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1636 f38db490-d61c-443f-a65b-d21fe96a405b
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)