Commit 84831ad0 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐙

meson: use -Wl,-Bsymbolic-functions where supported

Just like the autotools build.
parent 90244da7
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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment