diff options
Diffstat (limited to 'qmake/generators/makefile.cpp')
-rw-r--r-- | qmake/generators/makefile.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp index f6f4edef9d..dfe9a1c0b9 100644 --- a/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp @@ -3456,7 +3456,10 @@ ProKey MakefileGenerator::fullTargetVariable() const return "TARGET"; } -QString MakefileGenerator::createResponseFile(const QString &baseName, const ProStringList &objList) +QString MakefileGenerator::createResponseFile( + const QString &baseName, + const ProStringList &objList, + const QString &prefix) { QString fileName = baseName + '.' + fileVar("QMAKE_ORIG_TARGET"); if (!var("BUILD_NAME").isEmpty()) @@ -3479,7 +3482,7 @@ QString MakefileGenerator::createResponseFile(const QString &baseName, const Pro .replace(QLatin1Char('\t'), QLatin1String("\\\t")) .replace(QLatin1Char('"'), QLatin1String("\\\"")) .replace(QLatin1Char('\''), QLatin1String("\\'")); - t << path << Qt::endl; + t << prefix << path << Qt::endl; } t.flush(); file.close(); |