gst-full: use '-Wl,-Bsymbolic-functions' to reduce footprint
authorStéphane Cerveau <scerveau@collabora.com>
Tue, 13 Oct 2020 14:31:57 +0000 (16:31 +0200)
committerStéphane Cerveau <scerveau@collabora.com>
Wed, 14 Oct 2020 14:05:13 +0000 (16:05 +0200)
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>

meson.build

index 804c896..725a91d 100644 (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 = []