Commit 05bcba3e authored by Christian Stenger's avatar Christian Stenger

AutotoolsPM: Fix compile with older gcc/Qt5.6

Change-Id: I60614b87f80443ffa39ed4e4fa59ad0165a63cc8
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent 22e053b8
......@@ -58,7 +58,7 @@ static QString projectDirRelativeToBuildDir(BuildConfiguration *bc) {
QString projDirToBuildDir = buildDir.relativeFilePath(
bc->target()->project()->projectDirectory().toString());
if (projDirToBuildDir.isEmpty())
return "./";
return QString("./");
if (!projDirToBuildDir.endsWith('/'))
projDirToBuildDir.append('/');
return projDirToBuildDir;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment