Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gst-plugins-good.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-04-25 12:58:41 +0300
committerTim-Philipp Müller <tim@centricular.com>2018-04-25 12:58:41 +0300
commit84831ad03ded24f4dcd98e793a59f7530da86993 (patch)
tree2d603ad5b50611a5ef6a36e3b70dfd0631ec8bb7 /meson.build
parent90244da7800a55eccaaab28050245076d7b6fdf0 (diff)
meson: use -Wl,-Bsymbolic-functions where supported
Just like the autotools build.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 37126ddcd..feb16607a 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
project('gst-plugins-good', 'c',
version : '1.15.0.1',
- meson_version : '>= 0.36.0',
+ meson_version : '>= 0.46.0',
default_options : [ 'warning_level=1',
'buildtype=debugoptimized' ])
@@ -44,6 +44,10 @@ else
noseh_link_args = []
endif
+if cc.has_link_argument('-Wl,-Bsymbolic-functions')
+ add_project_link_arguments('-Wl,-Bsymbolic-functions', language : 'c')
+endif
+
# Symbol visibility
if cc.has_argument('-fvisibility=hidden')
add_project_arguments('-fvisibility=hidden', language: 'c')