未验证 提交 779d86f1 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #3016 from weety/dev

Dev
......@@ -32,7 +32,10 @@ def GetGCCRoot(rtconfig):
if prefix.endswith('-'):
prefix = prefix[:-1]
root_path = os.path.join(exec_path, '..', prefix)
if exec_path == '/usr/bin':
root_path = os.path.join('/usr/lib', prefix)
else:
root_path = os.path.join(exec_path, '..', prefix)
return root_path
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册