summaryrefslogtreecommitdiff
path: root/channels/Makefile
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2007-11-17 09:48:45 +0000
committerLuigi Rizzo <rizzo@icir.org>2007-11-17 09:48:45 +0000
commit270b6d978b13c7c3adc67357ced777417c9379e5 (patch)
treeaca70a4ca2014c51491044736e5908cd531d234f /channels/Makefile
parent130b6291cb9591994b26e0bdee6cc6a1a03b22e9 (diff)
filter out modules that do not compile under windows
(this should be handled with the dependencies generated by configure and menuselect, but will be fixed later) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/Makefile')
-rw-r--r--channels/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/channels/Makefile b/channels/Makefile
index 092dee93d..53c7790b9 100644
--- a/channels/Makefile
+++ b/channels/Makefile
@@ -36,6 +36,11 @@ ifeq ($(OSARCH),NetBSD)
H323LIB=-lh323_NetBSD_x86_r
endif
+ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
+ C_MODS:=$(filter-out chan_oss,$(C_MODS))
+ C_MODS:=$(filter-out chan_unistim,$(C_MODS))
+endif
+
ifeq ($(wildcard h323/libchanh323.a),)
CC_MODS:=$(filter-out chan_h323,$(CC_MODS))
endif