mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
configure.ac: Ugly hack to put the (recently removed and non-portable, apparently)
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.
This commit is contained in:
parent
cf21248714
commit
2b6e12aa2a
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,12 @@
|
|||
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):
|
||||
|
|
|
@ -526,6 +526,10 @@ GST_LIB_LDFLAGS="-export-symbols-regex \^[_]*\(gst_\|Gst\|GST_\).*"
|
|||
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_*
|
||||
|
|
Loading…
Reference in a new issue