summaryrefslogtreecommitdiff
path: root/debian/patches/16_hide_std_symbols_on_qtwebkit.diff
blob: c54b5ba881d4b9317e686e952856f9125447ed11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/src/3rdparty/webkit/WebKit.pri
+++ b/src/3rdparty/webkit/WebKit.pri
@@ -26,6 +26,7 @@ CONFIG(release) {
 
 BASE_DIR = $$PWD
 INCLUDEPATH += $$PWD/WebKit/qt/Api
+QMAKE_LFLAGS += -Wl,--version-script,$$BASE_DIR/symbols.filter
 
 #
 # For builds inside Qt we interpret the output rule and the input of each extra compiler manually
--- /dev/null
+++ b/src/3rdparty/webkit/symbols.filter
@@ -0,0 +1,5 @@
+{
+local:
+_ZSt*;
+_ZNSt*;
+};