From f82527519cb62df8411e818f0c554a9d601a2a8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Tue, 13 Oct 2020 16:31:57 +0200 Subject: [PATCH] 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: --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 804c896d60..725a91de8c 100644 --- a/meson.build +++ b/meson.build @@ -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 = []