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
1.6.0
Luigi Rizzo 18 years ago
parent 130b6291cb
commit 270b6d978b

@ -36,6 +36,11 @@ ifeq ($(OSARCH),NetBSD)
H323LIB=-lh323_NetBSD_x86_r H323LIB=-lh323_NetBSD_x86_r
endif 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),) ifeq ($(wildcard h323/libchanh323.a),)
CC_MODS:=$(filter-out chan_h323,$(CC_MODS)) CC_MODS:=$(filter-out chan_h323,$(CC_MODS))
endif endif

Loading…
Cancel
Save