From 1f142319a3cc21a82e434d19ae973b4517154bd3 Mon Sep 17 00:00:00 2001 From: Jens Georg Date: Fri, 24 Apr 2015 08:54:04 +0200 Subject: build: Stop leaking symbols in plugins --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c085ed5c..a38a8ada 100644 --- a/configure.ac +++ b/configure.ac @@ -421,7 +421,9 @@ AS_IF([test "x$enable_apidocs" != "xno"], [ AM_CONDITIONAL(ENABLE_VALADOC, test x$found_valadoc = xyes) AC_SUBST([RYGEL_PLUGIN_LINKER_FLAGS], - ["-module -avoid-version"]) + ["-module -avoid-version -shared -export-dynamic -export-symbols-regex 'module_init'"]) +AC_SUBST([RYGEL_ENGINE_LINKER_FLAGS], + ["-module -avoid-version -shared -export-dynamic -export-symbols-regex 'module_get_instance'"]) AC_SUBST([RYGEL_PLUGIN_DIR], [${libdir}/rygel-2.6/plugins]) AC_SUBST([RYGEL_MEDIA_ENGINE_DIR], -- cgit v1.2.1