diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2016-10-11 16:29:51 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-10-12 11:18:45 +0200 |
commit | b032a98b14e447107db2b1ff43c5a8c5fd3277d5 (patch) | |
tree | cc6dcce3a46085c4c0c32d08f843c33cc4c07ab5 | |
parent | c16aed50dfc066f572cf1d8cbcedb4581f687fd9 (diff) | |
download | ModemManager-b032a98b14e447107db2b1ff43c5a8c5fd3277d5.tar.gz |
plugins: only export useful symbols
This should avoid poluting the name space and also make module loading
faster.
(cherry picked from commit 5a43f90a48d3b1494dcd338b2363eda783063e31)
-rw-r--r-- | plugins/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 31d222a7a..c8a80c12e 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -41,6 +41,7 @@ PLUGIN_COMMON_COMPILER_FLAGS = \ PLUGIN_COMMON_LINKER_FLAGS = \ -module \ -avoid-version \ + -export-symbols-regex '^mm_plugin_major_version$$|^mm_plugin_minor_version$$|^mm_plugin_create$$' \ $(NULL) # UDev rules |