plugins: only export useful symbols
This should avoid poluting the name space and also make module loading faster.
This commit is contained in:
committed by
Aleksander Morgado
parent
6dc08a69ad
commit
5a43f90a48
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user