forked from qt-creator/qt-creator
Android: Fix clang executable suffix on Windows
Change-Id: I78e8e49efd52d33f9f26f554a3400fabbe74d9ed Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -424,7 +424,8 @@ FileName AndroidConfig::clangPath() const
|
||||
QDirIterator iter(clangPath.toString(), hostPatterns, QDir::Dirs);
|
||||
if (iter.hasNext()) {
|
||||
iter.next();
|
||||
return clangPath.appendPath(iter.fileName()).appendPath("bin/clang");
|
||||
return clangPath.appendPath(iter.fileName())
|
||||
.appendPath(HostOsInfo::withExecutableSuffix("bin/clang"));
|
||||
}
|
||||
|
||||
return clangPath;
|
||||
|
||||
Reference in New Issue
Block a user