mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
configure.ac: set GST_LIB_LDFLAGS
Aligns GST_LIB_LDFLAGS with e.g. -base to arrange for proper exports in libs.
This commit is contained in:
parent
4915493932
commit
d6d48cfb70
1 changed files with 7 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue