diff options
author | Corey Farrell <git@cfware.com> | 2015-05-04 15:26:37 -0400 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2015-05-04 20:47:01 -0400 |
commit | a8bfa9e10445744581d18819c64729844ae837fb (patch) | |
tree | ea238e819c3440409df3027cd3c703394753c015 /utils | |
parent | ce21776aae2866f3c611f172c4d38fb53e806dcf (diff) |
Modules: Make ast_module_info->self available to auxiliary sources.
ast_module_info->self is often needed to register items with the core. Many
modules have ad-hoc code to make this pointer available to auxiliary sources.
This change updates the module build process to make the needed information
available to all sources in a module.
ASTERISK-25056 #close
Reported by: Corey Farrell
Change-Id: I18c8cd58fbcb1b708425f6757becaeca9fa91815
Diffstat (limited to 'utils')
-rw-r--r-- | utils/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/Makefile b/utils/Makefile index af216738b..97b0e2fe6 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -150,6 +150,8 @@ pbx_ael.c: $(ASTTOPDIR)/pbx/pbx_ael.c $(CMD_PREFIX) sed 's/ast_debug([[:digit:]][[:digit:]]*/ast_log(LOG_DEBUG/' "$@" > "$@.new" $(CMD_PREFIX) mv "$@.new" "$@" +pbx_ael.o: _ASTCFLAGS+=-DAST_MODULE_SELF_SYM=__internal_pbx_ael_self + aelparse.c: $(ASTTOPDIR)/res/ael/ael_lex.c $(ECHO_PREFIX) echo " [CP] $(subst $(ASTTOPDIR)/,,$<) -> $@" $(CMD_PREFIX) cp "$<" "$@" |