From: Tim-Philipp Müller Date: Thu, 10 Aug 2017 10:55:58 +0000 (+0100) Subject: meson: don't export symbols by default X-Git-Tag: 1.16.2~99 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d789cc58975f0228bccb06244fc8b3c8e376647;p=platform%2Fupstream%2Fgst-plugins-ugly.git meson: don't export symbols by default 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. --- diff --git a/meson.build b/meson.build index 3361dbce..7c29a7a2 100644 --- 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'],