validate: Define GST_PLUGIN_LDFLAGS as needed
authorThibault Saunier <tsaunier@gnome.org>
Mon, 23 Feb 2015 11:24:39 +0000 (12:24 +0100)
committerThibault Saunier <tsaunier@gnome.org>
Mon, 23 Feb 2015 11:24:39 +0000 (12:24 +0100)
validate/configure.ac

index 45a0112..0d2f7ad 100644 (file)
@@ -266,6 +266,11 @@ dnl LDFLAGS modifier defining exported symbols from built libraries
 GST_LIB_LDFLAGS="-export-symbols-regex \^[_]?\(gst_\|Gst\|GST_\).*"
 AC_SUBST(GST_LIB_LDFLAGS)
 
+dnl this really should only contain flags, not libs - they get added before
+dnl whatevertarget_LIBS and -L flags here affect the rest of the linking
+GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^[_]*gst_plugin_.*' $GST_ALL_LDFLAGS"
+AC_SUBST(GST_PLUGIN_LDFLAGS)
+
 AM_PATH_PYTHON(2.7.0)
 AS_AC_EXPAND(LIBDIR, $libdir)
 AC_MSG_NOTICE(Storing library files in $LIBDIR)