summaryrefslogtreecommitdiff
path: root/Makefile.moddir_rules
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2010-04-02 18:57:58 +0000
committerKevin P. Fleming <kpfleming@digium.com>2010-04-02 18:57:58 +0000
commit2be88e05c043e8abc1b6a3c94c4699859a7adf68 (patch)
tree617eb61593a42ffe9e08c245fa183358073bbf84 /Makefile.moddir_rules
parentf4617ae2b534262484980b4fbff2e42f87543b23 (diff)
Allow symbol export filtering to work properly on platforms that have symbol prefixes.
Some platforms prefix externally-visible symbols in object files generated from C sources (most commonly, '_' is the prefix). On these platforms, the existing symbol export filtering process ends up suppressing all the symbols that are supposed to be left visible. This patch allows the prefix string to be supplied to the top-level Makefile in the LINKER_SYMBOL_PREFIX variable, and then generates the linker scripts as required to include the prefix supplied. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@255906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'Makefile.moddir_rules')
-rw-r--r--Makefile.moddir_rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.moddir_rules b/Makefile.moddir_rules
index 00494a8b5..b883548af 100644
--- a/Makefile.moddir_rules
+++ b/Makefile.moddir_rules
@@ -129,6 +129,7 @@ uninstall::
dist-clean::
rm -f .*.moduleinfo .moduleinfo
rm -f .*.makeopts .makeopts
+ rm -f *.exports
.%.moduleinfo: %.c
@echo "<member name=\"$*\" displayname=\"$(shell $(GREP) -e AST_MODULE_INFO $< | head -n 1 | cut -d '"' -f 2)\" remove_on_change=\"$(SUBDIR)/$*.o $(SUBDIR)/$*.so\">" > $@