meson: don't export symbols by default

Only plugin entry points should be exported.
This commit is contained in:
Tim-Philipp Müller 2017-08-11 20:26:06 +01:00
parent 5b22802b35
commit 28cc05ac1d

View file

@ -91,6 +91,11 @@ else
language : 'c')
endif
# Symbol visibility
if cc.has_argument('-fvisibility=hidden')
add_project_arguments('-fvisibility=hidden', language: 'c')
endif
if gst_dep.type_name() == 'internal'
gst_proj = subproject('gstreamer')