commit
779d86f1da
|
@ -32,6 +32,9 @@ def GetGCCRoot(rtconfig):
|
||||||
if prefix.endswith('-'):
|
if prefix.endswith('-'):
|
||||||
prefix = prefix[:-1]
|
prefix = prefix[:-1]
|
||||||
|
|
||||||
|
if exec_path == '/usr/bin':
|
||||||
|
root_path = os.path.join('/usr/lib', prefix)
|
||||||
|
else:
|
||||||
root_path = os.path.join(exec_path, '..', prefix)
|
root_path = os.path.join(exec_path, '..', prefix)
|
||||||
|
|
||||||
return root_path
|
return root_path
|
||||||
|
|
Loading…
Reference in New Issue