projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bec37a
)
meson: hide symbols by default unless explicitly exported
author
Tim-Philipp Müller
<tim@centricular.com>
Fri, 11 Aug 2017 21:27:48 +0000
(22:27 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Fri, 11 Aug 2017 21:28:04 +0000
(22:28 +0100)
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index f7bb17d75efd957f22bf5dfc9b8dfeabcd983194..cc6a6965e2793c77a3dbe27269f95819384ced38 100644
(file)
--- 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"')