diff options
Diffstat (limited to 'qmake/generators')
-rw-r--r-- | qmake/generators/makefile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp index 2cfbccb2b5..5bd96a1466 100644 --- a/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp @@ -538,7 +538,7 @@ MakefileGenerator::init() if (line.startsWith("!!IF ")) { if (state.isEmpty() || state.top() == IN_CONDITION) { QString test = line.mid(5, line.length()-(5+1)); - if (project->test(test)) + if (project->test(test, inn, count)) state.push(IN_CONDITION); else state.push(PENDING_CONDITION); @@ -551,7 +551,7 @@ MakefileGenerator::init() in.fileName().toLatin1().constData(), count); } else if (state.top() == PENDING_CONDITION) { QString test = line.mid(7, line.length()-(7+1)); - if (project->test(test)) { + if (project->test(test, inn, count)) { state.pop(); state.push(IN_CONDITION); } |