Package: qt4-x11 / 4:4.8.7+dfsg-18

12_add_nostrip_for_debug_packages.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
author: Fathi Boudra <fabo@debian.org>

Qt is built in release mode and strip files by default.
Set CONFIG+=nostrip to avoid the stripping and
let dh_strip do it to generate debug packages.

---
 configure |    2 ++
 1 file changed, 2 insertions(+)

--- a/configure
+++ b/configure
@@ -756,6 +756,8 @@ mkdir -p "$outpath/config.tests"
 rm -f "$outpath/config.tests/.qmake.cache"
 cp "$QMAKE_VARS_FILE" "$outpath/config.tests/.qmake.cache"
 
+QMakeVar add CONFIG nostrip
+
 QMakeVar add styles "cde mac motif plastique cleanlooks windows"
 QMakeVar add decorations "default windows styled"
 QMakeVar add mouse-drivers "pc"