From: Modestas Vainius Date: Thu, 15 Dec 2016 20:22:14 +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 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=31a1441eb07ea6f9a4982b5b3091372b81d2742b;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