From d4e33dbabd1855a131522b006bc419c6f1ecc100 Mon Sep 17 00:00:00 2001 From: Modestas Vainius Date: Tue, 1 Nov 2016 12:04:32 +0000 Subject: [PATCH] Make hide_symbols to cover all QtWebKit portions Almost everything in Source/WebCore/generated was not build with -fvisibility=hidden resulting into redundantly polluted and huge dynamic symbol list in libQtWebKit.so. Therefore, move +hide_symbols configuration parameter upwards in order for it to cover everything including the offending Source/WebCore/CodeGenerators.pri Gbp-Pq: Name webkit_qt_hide_symbols.diff --- Source/QtWebKit.pro | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/QtWebKit.pro b/Source/QtWebKit.pro index 7cfa405f..a50051d5 100644 --- a/Source/QtWebKit.pro +++ b/Source/QtWebKit.pro @@ -7,6 +7,11 @@ TEMPLATE = subdirs CONFIG += ordered +CONFIG(release):!CONFIG(standalone_package) { + contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols + unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions +} + api.file = api.pri SUBDIRS += api -- 2.30.2