Commit b99ddc53 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

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

Just like the autotools build.
parent 3be03c13
project('gst-editing-services', 'c',
version : '1.15.0.1',
meson_version : '>= 0.36.0',
meson_version : '>= 0.46.0',
default_options : [ 'warning_level=1',
'buildtype=debugoptimized' ])
......@@ -40,6 +40,10 @@ if cc.get_id() == 'msvc'
language : 'c')
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