summaryrefslogtreecommitdiffstats
path: root/src/core/core_module.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core_module.pro')
-rw-r--r--src/core/core_module.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/core_module.pro b/src/core/core_module.pro
index 7aad0de9..1d5ea6be 100644
--- a/src/core/core_module.pro
+++ b/src/core/core_module.pro
@@ -21,3 +21,7 @@ load(qt_module)
CONFIG -= bsymbolic_functions
contains(QT_CONFIG, egl): CONFIG += egl
+
+linux {
+ CONFIG(release, debug|release) | contains(QT_CONFIG, separate_debug_info): QMAKE_POST_LINK="cd $(DESTDIR) && $(STRIP) --strip-unneeded $(TARGET)"
+}