aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-17 09:48:45 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-17 09:48:45 +0000
commit46c59c7908d32ee27d98d0408cb9419f6312f7f7 (patch)
treeaca70a4ca2014c51491044736e5908cd531d234f
parent8fde063b48e65f60cd28b3cf7dab5e8c744a4c02 (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: http://svn.digium.com/svn/asterisk/trunk@89366 f38db490-d61c-443f-a65b-d21fe96a405b
-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