mirror of https://gitlab.com/ita1024/waf.git
Checking for program 'clang-cl' - is not executable error fix
This commit is contained in:
parent
6c99c7cb0b
commit
cf1739b0d9
|
@ -41,7 +41,7 @@ def get_llvm_paths(self):
|
||||||
|
|
||||||
llvm_dir, _ = Utils.winreg.QueryValueEx(llvm_key, '')
|
llvm_dir, _ = Utils.winreg.QueryValueEx(llvm_key, '')
|
||||||
if llvm_dir:
|
if llvm_dir:
|
||||||
llvm_path.append(os.path.join(llvm_dir, 'bin'))
|
llvm_path.append(os.path.join(llvm_dir.encode("utf-8") if isinstance(llvm_dir, unicode) else llvm_dir, 'bin'))
|
||||||
|
|
||||||
tmp = self.environ.get('LLVM_PATH') or self.env.LLVM_PATH
|
tmp = self.environ.get('LLVM_PATH') or self.env.LLVM_PATH
|
||||||
if tmp:
|
if tmp:
|
||||||
|
|
Loading…
Reference in New Issue