]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Improve the build system to *properly* remove unnecessary symbols from the runtime...
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 18 Mar 2009 01:28:42 +0000 (01:28 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 18 Mar 2009 01:28:42 +0000 (01:28 +0000)
commitf1f417a9d8ce875035537e98c9fccf6cee0e2bda
treeaeee88ffbd06e0bc9b16c4ed7a235e376aedaf13
parent62fbf19157b3d5bd3fc2b22820a191fbf3d3e997
Improve the build system to *properly* remove unnecessary symbols from the runtime global namespace. Along the way, change the prefixes on some internal-only API calls to use a common prefix.

With these changes, for a module to export symbols into the global namespace, it must have *both* the AST_MODFLAG_GLOBAL_SYMBOLS flag and a linker script that allows the linker to leave the symbols exposed in the module's .so file (see res_odbc.exports for an example).

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@182802 65c4cc65-6c06-0410-ace0-fbb531ad65f3
33 files changed:
Makefile.rules
apps/app_chanspy.c
apps/app_meetme.c
apps/app_mixmonitor.c
build_tools/cflags-devmode.xml
build_tools/strip_nonapi [deleted file]
default.exports [new file with mode: 0644]
include/asterisk/astobj2.h
include/asterisk/frame.h
include/asterisk/linkedlists.h
main/Makefile
main/asterisk.exports [new file with mode: 0644]
main/astobj2.c
main/autoservice.c
main/channel.c
main/file.c
main/frame.c
main/slinfactory.c
makeopts.in
res/res_adsi.exports [new file with mode: 0644]
res/res_agi.exports [new file with mode: 0644]
res/res_config_odbc.c
res/res_config_pgsql.c
res/res_crypto.c
res/res_features.exports [new file with mode: 0644]
res/res_indications.c
res/res_jabber.exports [new file with mode: 0644]
res/res_monitor.exports [new file with mode: 0644]
res/res_musiconhold.c
res/res_odbc.exports [new file with mode: 0644]
res/res_smdi.exports [new file with mode: 0644]
res/res_snmp.c
res/res_speech.exports [new file with mode: 0644]