summaryrefslogtreecommitdiffstats
path: root/qmake/generators/makefile.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-06-26 15:36:39 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-06-27 14:35:23 +0200
commit4b637bf1f0c5efe05a5f0098540f2195bc9b8c20 (patch)
treed9f0041426643bec6a1f57975d543da3d1979088 /qmake/generators/makefile.cpp
parentcaa22630510fb625f9c2ed18660cb56eb585137c (diff)
fix specdir()
get the actual spec path directly from the project - the specs in Option are not necessarily resolved. Change-Id: Ia2bf2199c5269aa5b5a9d4c38de36171f25d448b Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'qmake/generators/makefile.cpp')
-rw-r--r--qmake/generators/makefile.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index f187190ac7..ca22655171 100644
--- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp
@@ -3073,8 +3073,7 @@ QString
MakefileGenerator::specdir()
{
if (spec.isEmpty())
- spec = fileFixify(project->isHostBuild()
- ? Option::mkfile::qmakespec : Option::mkfile::xqmakespec);
+ spec = fileFixify(project->specDir());
return spec;
}