|
@@ -32,7 +32,12 @@ def GetGCCRoot(rtconfig):
|
|
if prefix.endswith('-'):
|
|
if prefix.endswith('-'):
|
|
prefix = prefix[:-1]
|
|
prefix = prefix[:-1]
|
|
|
|
|
|
- root_path = os.path.join(exec_path, '..', prefix)
|
|
|
|
|
|
+ if exec_path == '/usr/bin':
|
|
|
|
+ root_path = os.path.join('/usr/lib', prefix)
|
|
|
|
+ print(root_path)
|
|
|
|
+ else:
|
|
|
|
+ root_path = os.path.join(exec_path, '..', prefix)
|
|
|
|
+ print(root_path)
|
|
|
|
|
|
return root_path
|
|
return root_path
|
|
|
|
|