From 6fac17a3081812fec3d777dbb337bd00ebd528c4 Mon Sep 17 00:00:00 2001 From: Tom Beckmann Date: Sat, 8 Mar 2014 21:58:06 +0100 Subject: [PATCH] move -avoid-version to central variable for plugins --- configure.ac | 4 ++++ plugins/zoom/Makefile.am | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c7ee9dd6..202be4d9 100644 --- a/configure.ac +++ b/configure.ac @@ -128,6 +128,10 @@ VALAFLAGS="$VALAFLAGS --thread --target-glib=2.32" PKG_CHECK_MODULES(GALA_CORE, $GALA_CORE_PKGS) +# Plugins +PLUGIN_LDFLAGS="-module -avoid-version" +AC_SUBST([PLUGIN_LDFLAGS]) + # ----------------------------------------------------------- # Optional Dependencies # ----------------------------------------------------------- diff --git a/plugins/zoom/Makefile.am b/plugins/zoom/Makefile.am index df891c44..5de0f6fc 100644 --- a/plugins/zoom/Makefile.am +++ b/plugins/zoom/Makefile.am @@ -9,7 +9,7 @@ libgala_zoom_la_LTLIBRARIES = libgala-zoom.la libgala_zoom_ladir = $(pkglibdir)/plugins libgala_zoom_la_LDFLAGS = \ - -avoid-version \ + $(PLUGIN_LDFLAGS) \ $(GALA_CORE_LDFLAGS) \ $(top_builddir)/lib/libgala.la \ $(NULL)