diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-06-05 20:46:27 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-06-05 20:46:27 +0000 |
commit | e856010714a91f3cf784fb3a951fdbc348e05f32 (patch) | |
tree | d5827333b38eac990d3ee179fd35122c76faa02d /funcs/Makefile | |
parent | 8a95a1ddc10aa322eebd64b71a0ff546e1b6af50 (diff) |
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
Diffstat (limited to 'funcs/Makefile')
-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: |