mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-16 01:36:48 +00:00
use module names, not file names, in menuselect
work around XML parsing bug in menuselect for default sounds package git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
MODS:=$(filter-out $(MENUSELECT_CHANNELS),$(patsubst %.c,%.so,$(wildcard chan_*.c)))
|
||||
SELECTED_MODS:=$(filter-out $(MENUSELECT_CHANNELS),$(patsubst %.c,%,$(wildcard chan_*.c)))
|
||||
|
||||
ifeq ($(OSARCH),OpenBSD)
|
||||
PTLIB=-lpt_OpenBSD_x86_r
|
||||
@@ -45,11 +45,11 @@ ifeq ($(OSARCH),SunOS)
|
||||
endif
|
||||
|
||||
ifeq ($(wildcard h323/libchanh323.a),)
|
||||
MODS:=$(filter-out chan_h323.so,$(MODS))
|
||||
SELECTED_MODS:=$(filter-out chan_h323,$(SELECTED_MODS))
|
||||
endif
|
||||
|
||||
ifeq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/mISDNuser/mISDNlib.h),)
|
||||
MODS:=$(filter-out chan_misdn.so,$(MODS))
|
||||
SELECTED_MODS:=$(filter-out chan_misdn,$(SELECTED_MODS))
|
||||
else
|
||||
CFLAGS+=-Imisdn
|
||||
endif
|
||||
@@ -62,6 +62,8 @@ ifndef PWLIBDIR
|
||||
PWLIBDIR=$(HOME)/pwlib
|
||||
endif
|
||||
|
||||
MODS:=$(patsubst %,%.so,$(SELECTED_MODS))
|
||||
|
||||
all: depend $(MODS)
|
||||
|
||||
clean-depend:
|
||||
|
Reference in New Issue
Block a user