mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
meson: hide symbols by default unless explicitly exported
This commit is contained in:
parent
7bec37a755
commit
600f9800e0
1 changed files with 5 additions and 0 deletions
|
@ -38,6 +38,11 @@ if cc.get_id() == 'msvc'
|
||||||
language : 'c')
|
language : 'c')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Symbol visibility
|
||||||
|
if cc.has_argument('-fvisibility=hidden')
|
||||||
|
add_project_arguments('-fvisibility=hidden', language: 'c')
|
||||||
|
endif
|
||||||
|
|
||||||
cdata = configuration_data()
|
cdata = configuration_data()
|
||||||
cdata.set('VERSION', '"@0@"'.format(gst_version))
|
cdata.set('VERSION', '"@0@"'.format(gst_version))
|
||||||
cdata.set('PACKAGE', '"gst-editing-services"')
|
cdata.set('PACKAGE', '"gst-editing-services"')
|
||||||
|
|
Loading…
Reference in a new issue