gst-full: use '-Wl,-Bsymbolic-functions' to reduce footprint

As most of the gst/glib modules, use this linker flag
to reduce footprint.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/204>
This commit is contained in:
Stéphane Cerveau 2020-10-13 16:31:57 +02:00
parent 139fbac92e
commit f82527519c

View file

@ -259,7 +259,8 @@ if get_option('default_library') == 'static'
all_plugins_paths]
)
gstfull_link_args = []
gstfull_link_args = cc.get_supported_link_arguments(['-Wl,-Bsymbolic-functions'])
# Get a list of libraries that needs to be exposed in the ABI.
exposed_libs = []
incdir_deps = []