diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2017-08-11 22:27:48 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2017-08-11 22:28:04 +0100 |
commit | 600f9800e0fbe69fd4b06012f08f59ea58a64fbd (patch) | |
tree | bece8052146c95eeb207de39238bf6c8f9fd0e0d /meson.build | |
parent | 7bec37a7553f168e4ea739cd5afcb4ed4bfdf064 (diff) |
meson: hide symbols by default unless explicitly exported
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build index f7bb17d7..cc6a6965 100644 --- a/meson.build +++ b/meson.build @@ -38,6 +38,11 @@ if cc.get_id() == 'msvc' language : 'c') endif +# Symbol visibility +if cc.has_argument('-fvisibility=hidden') + add_project_arguments('-fvisibility=hidden', language: 'c') +endif + cdata = configuration_data() cdata.set('VERSION', '"@0@"'.format(gst_version)) cdata.set('PACKAGE', '"gst-editing-services"') |