move -avoid-version to central variable for plugins

This commit is contained in:
Tom Beckmann 2014-03-08 21:58:06 +01:00
parent 94ffd5130c
commit 6fac17a308
2 changed files with 5 additions and 1 deletions

View File

@ -128,6 +128,10 @@ VALAFLAGS="$VALAFLAGS --thread --target-glib=2.32"
PKG_CHECK_MODULES(GALA_CORE, $GALA_CORE_PKGS) PKG_CHECK_MODULES(GALA_CORE, $GALA_CORE_PKGS)
# Plugins
PLUGIN_LDFLAGS="-module -avoid-version"
AC_SUBST([PLUGIN_LDFLAGS])
# ----------------------------------------------------------- # -----------------------------------------------------------
# Optional Dependencies # Optional Dependencies
# ----------------------------------------------------------- # -----------------------------------------------------------

View File

@ -9,7 +9,7 @@ libgala_zoom_la_LTLIBRARIES = libgala-zoom.la
libgala_zoom_ladir = $(pkglibdir)/plugins libgala_zoom_ladir = $(pkglibdir)/plugins
libgala_zoom_la_LDFLAGS = \ libgala_zoom_la_LDFLAGS = \
-avoid-version \ $(PLUGIN_LDFLAGS) \
$(GALA_CORE_LDFLAGS) \ $(GALA_CORE_LDFLAGS) \
$(top_builddir)/lib/libgala.la \ $(top_builddir)/lib/libgala.la \
$(NULL) $(NULL)