diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-30 17:49:50 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-30 17:49:50 +0000 |
commit | 357595cbeaadb53151dc48d81a2b4f1ba3fd6a16 (patch) | |
tree | c3f0224e1268668ce524daaf2f780a646329fa02 /channels/Makefile | |
parent | cc9925a1ba1013ebd68e95317d9261c82d94ebd9 (diff) |
use proper method of detecting OSS support on Linux and FreeBSD
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23736 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/Makefile')
-rw-r--r-- | channels/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/channels/Makefile b/channels/Makefile index aca979f52..0b4ddacc3 100644 --- a/channels/Makefile +++ b/channels/Makefile @@ -103,15 +103,10 @@ ringtone.h: gentone ./gentone ringtone 440 480 chan_oss.o: chan_oss.c busy.h ringtone.h + $(CC) -c -o $@ $(CFLAGS) $(OSSAUDIO_INCLUDE) $< -ifeq ($(OSARCH),OpenBSD) chan_oss.so: chan_oss.o - $(CC) $(SOLINK) -o $@ chan_oss.o -lossaudio -endif -ifeq ($(OSARCH),NetBSD) -chan_oss.so: chan_oss.o - $(CC) $(SOLINK) -o $@ chan_oss.o -lossaudio -endif + $(CC) $(SOLINK) -o $@ chan_oss.o $(OSSAUDIO_LIB) chan_iax2.so: chan_iax2.o iax2-parser.o iax2-provision.o $(CC) $(SOLINK) -o $@ $< iax2-parser.o iax2-provision.o |