aboutsummaryrefslogtreecommitdiffstats
path: root/main/qt5-qtwebkit/fix-rpath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/qt5-qtwebkit/fix-rpath.patch')
-rw-r--r--main/qt5-qtwebkit/fix-rpath.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/qt5-qtwebkit/fix-rpath.patch b/main/qt5-qtwebkit/fix-rpath.patch
new file mode 100644
index 0000000000..d365b87754
--- /dev/null
+++ b/main/qt5-qtwebkit/fix-rpath.patch
@@ -0,0 +1,11 @@
+--- ./Tools/qmake/mkspecs/features/unix/default_post.prf.orig
++++ ./Tools/qmake/mkspecs/features/unix/default_post.prf
+@@ -58,8 +58,6 @@
+ QMAKE_OBJECTIVE_CFLAGS += -Wno-c++11-extensions -Wno-c++0x-extensions
+ }
+
+-contains(TEMPLATE, app): CONFIG += rpath
+-
+ CONFIG(debug, debug|release)|force_debug_info|separate_debug_info {
+ # Make ld not cache the symbol tables of input files in memory to avoid memory exhaustion during the linking phase.
+ !force_static_libs_as_shared:config_gnuld: QMAKE_LFLAGS += -Wl,--no-keep-memory