Original commit message from CVS:
* configure.ac:
Ugly hack to put the (recently removed and non-portable, apparently)
-Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
GNU ld, because without that 'make check' fails miserably on my debian
stable box. Someone with more knowledge of linker intricacies and
portability issues than me fix this properly please.
+2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
+
+ * configure.ac:
+ Ugly hack to put the (recently removed and non-portable, apparently)
+ -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
+ GNU ld, because without that 'make check' fails miserably on my debian
+ stable box. Someone with more knowledge of linker intricacies and
+ portability issues than me fix this properly please.
+
2007-10-25 Wim Taymans <wim.taymans@gmail.com>
* libs/gst/base/gstbasesink.c: (gst_base_sink_event):
AC_SUBST(GST_LIB_LDFLAGS)
dnl Version of the linker flags specifically for libgstcheck to support the boonky extra symbols it exports.
GST_CHECK_LIB_LDFLAGS="-export-symbols-regex \^\([_]*\(gst_\|Gst\|GST_\).*\|check_\(debug\|mutex\|cond\)\|buffers\|mutex\|start_cond\|sync_cond\|thread_list\)$"
+dnl HACK: add non-portable --export-dynamic if we have GNU ld (needed on my debian stable, tpm)
+if test "x$ac_cv_prog_gnu_ld" = "xyes" -o "x$acl_cv_prog_gnu_ld" = "xyes" ; then
+ GST_CHECK_LIB_LDFLAGS="-Wl,--export-dynamic $GST_CHECK_LIB_LDFLAGS"
+fi
AC_SUBST(GST_CHECK_LIB_LDFLAGS)
dnl GST_OBJ_*