diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-05 20:46:27 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-05 20:46:27 +0000 |
commit | bb0b421ea8c2b40c0ab6be495e9de46f1852b6cf (patch) | |
tree | d5827333b38eac990d3ee179fd35122c76faa02d /funcs | |
parent | 4bd290444922500ea2769823ddb47bf7d07b74ed (diff) |
use module names, not file names, in menuselect
work around XML parsing bug in menuselect for default sounds package
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32407 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r-- | funcs/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/funcs/Makefile b/funcs/Makefile index 33edf55d2..757f2accf 100644 --- a/funcs/Makefile +++ b/funcs/Makefile @@ -11,19 +11,21 @@ # the GNU General Public License # -MODS:=$(filter-out $(MENUSELECT_FUNCS),$(patsubst %.c,%.so,$(wildcard func_*.c))) +SELECTED_MODS:=$(filter-out $(MENUSELECT_FUNCS),$(patsubst %.c,%,$(wildcard func_*.c))) # TODO This check needs to be handled with autoconf ifeq ($(OSARCH),SunOS) ifeq ($(shell if [ 0x`$(CROSS_COMPILE_BIN)curl-config --vernum` -ge 0x70907 ]; then echo "OK" ; fi),) - MODS:=$(filter-out func_curl.so,$(MODS)) + MODS:=$(filter-out func_curl,$(MODS)) endif else ifeq ($(shell if [[ 0x`$(CROSS_COMPILE_BIN)curl-config --vernum` -ge 0x70907 ]]; then echo "OK" ; fi),) - MODS:=$(filter-out func_curl.so,$(MODS)) + MODS:=$(filter-out func_curl,$(MODS)) endif endif +MODS:=$(patsubst %,%.so,$(SELECTED_MODS)) + all: $(MODS) clean-depend: |