diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-04-22 16:41:15 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-04-25 14:15:04 +0300 |
commit | a65c9ca1346b787ae18411b5d2559df28ecacb22 (patch) | |
tree | 4c2f434f6de21bab539348d8e43305276c2b1b1a | |
parent | d9a2a845dec1697f6b68b6aa4c4a49b0c2738329 (diff) | |
download | qtlocation-mapboxgl-a65c9ca1346b787ae18411b5d2559df28ecacb22.tar.gz |
[Qt] Set default visibility to hidden for Qt
Expose less symbols on the shared library.
Fixes #4809
-rw-r--r-- | platform/qt/scripts/configure.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/qt/scripts/configure.sh b/platform/qt/scripts/configure.sh index eb9775b442..4c56409c8f 100644 --- a/platform/qt/scripts/configure.sh +++ b/platform/qt/scripts/configure.sh @@ -12,6 +12,10 @@ VARIANT_VERSION=1.1.0 ZLIB_VERSION=system WEBP_VERSION=0.5.0 +function print_default_flags { + CONFIG+=" 'cflags': $(quote_flags -fvisibility=hidden),"$LN +} + if [ "$MASON_PLATFORM" == "osx" ]; then function print_opengl_flags { CONFIG+=" 'opengl_cflags%': [],"$LN |