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:
7acdfa3
)
meson: hide symbols by default unless explicitly exported
author
Tim-Philipp Müller
<tim@centricular.com>
Thu, 10 Aug 2017 13:00:21 +0000
(14:00 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Thu, 10 Aug 2017 13:01:19 +0000
(14:01 +0100)
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
bccb5f8
..
ffce497
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-50,6
+50,11
@@
else
noseh_link_args = []
endif
+# Symbol visibility
+if cc.has_argument('-fvisibility=hidden')
+ add_project_arguments('-fvisibility=hidden', language: 'c')
+endif
+
core_conf = configuration_data()
check_headers = [
['HAVE_DLFCN_H', 'dlfcn.h'],