projects
/
platform
/
upstream
/
gst-plugins-ugly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc826ac
)
meson: don't export symbols by default
author
Tim-Philipp Müller
<tim@centricular.com>
Thu, 10 Aug 2017 10:55:58 +0000
(11:55 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Thu, 10 Aug 2017 11:01:52 +0000
(12:01 +0100)
Only plugin entry points should be exported.
Currently plugins might export more symbols with
the meson build, as we don't have the exports
regexp there that we pass to libtool.
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index 3361dbcee1b0592cc9a12dfaa939d9a7f88ca315..7c29a7a2481e937591f7bcc9730dfc697f81a94b 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-42,6
+42,11
@@
else
noseh_link_args = []
endif
+# Symbol visibility
+if cc.has_argument('-fvisibility=hidden')
+ add_project_arguments('-fvisibility=hidden', language: 'c')
+endif
+
cdata = configuration_data()
check_headers = [
['HAVE_DLFCN_H', 'dlfcn.h'],