summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-11-27 17:02:53 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-11-27 17:02:53 +0000
commitb9d371913c66db1e4a430fdb3ebae449532563db (patch)
treeffb9644c71e940b821a59b9185ba6e7c7207bc8b /configure.ac
parent9b0f1d1c694936fea8b0575c973291e2b842ce66 (diff)
configure.ac: fix up GST_PLUGIN_LDFLAGS
Original commit message from CVS: * configure.ac: fix up GST_PLUGIN_LDFLAGS * gst/rtsp/rtspconnection.c: fix includes (see #317043) * gst/videofilter/Makefile.am: stop installing this library
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7090b50b..a7333681 100644
--- a/configure.ac
+++ b/configure.ac
@@ -478,6 +478,8 @@ dnl *** finalize CFLAGS, LDFLAGS, LIBS
dnl Overview:
dnl GST_OPTION_CFLAGS: common flags for profiling, debugging, errors, ...
dnl GST_*: flags shared by all built objects
+dnl GST_ALL_LDFLAGS: linker flags shared by all
+dnl GST_LIB_LDFLAGS: not needed, we don't install libraries
dnl GST_LT_LDFLAGS: library versioning of our libraries
dnl GST_PLUGIN_LDFLAGS: flags to be used for all plugins
@@ -505,9 +507,14 @@ GST_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS \$
AC_SUBST(GST_CFLAGS)
AC_SUBST(GST_LIBS)
+dnl LDFLAGS 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_ALL_LDFLAGS="-no-undefined"
+AC_SUBST(GST_ALL_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_desc\$\$' -no-undefined"
+GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^[_]*gst_plugin_desc\$\$' $GST_ALL_LDFLAGS"
AC_SUBST(GST_PLUGIN_LDFLAGS)
dnl *** output files ***