зеркало из https://github.com/aspnet/libuv-build.git
Libuv needs just clang
This commit is contained in:
Родитель
d53c19c070
Коммит
7fd3ff922c
|
@ -154,13 +154,13 @@ functions @{
|
|||
|
||||
foreach(var dir in Environment.GetEnvironmentVariable("PATH").Split(Path.PathSeparator))
|
||||
{
|
||||
if (File.Exists(Path.Combine(dir, "clang++")))
|
||||
if (File.Exists(Path.Combine(dir, "clang")))
|
||||
{
|
||||
return Path.Combine(dir, "clang++");
|
||||
return Path.Combine(dir, "clang");
|
||||
}
|
||||
else if (File.Exists(Path.Combine(dir, "clang++-3.5")))
|
||||
else if (File.Exists(Path.Combine(dir, "clang-3.5")))
|
||||
{
|
||||
return Path.Combine(dir, "clang++-3.5");
|
||||
return Path.Combine(dir, "clang-3.5");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче