From 51d95efd450a077da6d9a9d52c62dd4d57e51f89 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 11 Oct 2016 16:29:51 +0200 Subject: [PATCH] plugins: only export useful symbols This should avoid poluting the name space and also make module loading faster. --- plugins/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 8cf751f..0e335eb 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 -- 2.7.4