summaryrefslogtreecommitdiff
path: root/debian/patches/15_fix_qmake_makefile_generation.diff
blob: ed3997fd04cc3ca36a0fab79b7bd680af18cbcf0 (plain)
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
@@ -2447,7 +2447,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) \