From: Modestas Vainius Date: Wed, 1 Apr 2015 17:44:29 +0000 (+0000) Subject: Make hide_symbols to cover all QtWebKit portions X-Git-Tag: archive/raspbian/5.212.0_alpha2-6+rpi1~5^2^2^2^2^2^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7ae5077910006dc56885cc2f5ad4d5de470b3def;p=qtwebkit-opensource-src.git 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 --- 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