diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2016-10-11 16:29:51 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-10-12 10:59:18 +0200 |
commit | 5a43f90a48d3b1494dcd338b2363eda783063e31 (patch) | |
tree | 4cb93f233afb1fa45a2e9455633a01b7c163f7fc | |
parent | 6dc08a69adc4294e2b22f14b754b541c64109fba (diff) |
plugins: only export useful symbols
This should avoid poluting the name space and also make module loading
faster.
-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 2dcde280..afd3fa95 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -42,6 +42,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 |