Commit 46b414f5 authored by dt's avatar dt
Browse files

Fix DESTDIR=. case

Qmake treats "." special, we need to do the same
parent 294dfd10
......@@ -1489,7 +1489,7 @@ TargetInformation Qt4ProFileNode::targetInformation(ProFileReader *reader) const
result.workingDir = QDir::cleanPath(result.workingDir);
QString wd = result.workingDir;
if (!reader->contains("DESTDIR")
if ( (!reader->contains("DESTDIR") || reader->value("DESTDIR") == ".")
&& reader->values("CONFIG").contains("debug_and_release")
&& reader->values("CONFIG").contains("debug_and_release_target")) {
// If we don't have a destdir and debug and release is set
Supports Markdown
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