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

15_fix_qmake_makefile_generation.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix qmake makefile generation - should not add double slashes to makefiles.
Author: Sune Vuorela <debian@pusling.com>

---
 qmake/generators/makefile.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp
@@ -2470,7 +2470,7 @@ MakefileGenerator::writeSubTargets(QText
 
         QString mkfile = subtarget->makefile;
         if(!in_directory.isEmpty())
-            mkfile.prepend(out_directory);
+            mkfile.prepend(out_directory + Option::dir_sep);
 
         QString in_directory_cdin, in_directory_cdout, out_directory_cdin, out_directory_cdout;
 #define MAKE_CD_IN_AND_OUT(directory) \