From a65c9ca1346b787ae18411b5d2559df28ecacb22 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Fri, 22 Apr 2016 16:41:15 +0300 Subject: [PATCH] [Qt] Set default visibility to hidden for Qt Expose less symbols on the shared library. Fixes #4809 --- platform/qt/scripts/configure.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platform/qt/scripts/configure.sh b/platform/qt/scripts/configure.sh index eb9775b44..4c56409c8 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