|
From: <mn...@ke...> - 2011-02-07 13:54:31
|
Module: gst-plugins-bad Branch: master Commit: d6d48cfb7091b2bcfd8e4dba3a7eaafce668b1f0 URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=d6d48cfb7091b2bcfd8e4dba3a7eaafce668b1f0 Author: Mark Nauwelaerts <mar...@co...> Date: Mon Feb 7 14:05:34 2011 +0100 configure.ac: set GST_LIB_LDFLAGS Aligns GST_LIB_LDFLAGS with e.g. -base to arrange for proper exports in libs. --- configure.ac | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index 3da8244..5819cb3 100644 --- a/configure.ac +++ b/configure.ac @@ -1691,6 +1691,13 @@ dnl whatevertarget_LIBS and -L flags here affect the rest of the linking GST_ALL_LDFLAGS="-no-undefined" AC_SUBST(GST_ALL_LDFLAGS) +dnl GST_LIB_LDFLAGS +dnl linker flags shared by all libraries +dnl LDFLAGS modifier defining exported symbols from built libraries +dnl (export _gst_foo but not __gst_foo) +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_desc\$\$' $GST_ALL_LDFLAGS" |