[Qt] Set default visibility to hidden for Qt

Expose less symbols on the shared library.

Fixes #4809
This commit is contained in:
Thiago Marcos P. Santos
2016-04-22 16:41:15 +03:00
parent d9a2a845de
commit a65c9ca134

View File

@@ -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