make sysroot works properly
This commit is contained in:
parent
032ed6fb15
commit
857cc35f35
@ -5,7 +5,7 @@
|
|||||||
// to the link paths.
|
// to the link paths.
|
||||||
path_list &Paths = getFilePaths();
|
path_list &Paths = getFilePaths();
|
||||||
+ if(IsAndroid)
|
+ if(IsAndroid)
|
||||||
+ addPathIfExists(D, "@TERMUX_PREFIX@/lib", Paths);
|
+ addPathIfExists(D, SysRoot + "@TERMUX_PREFIX@/lib", Paths);
|
||||||
|
|
||||||
const std::string OSLibDir = getOSLibDir(Triple, Args);
|
const std::string OSLibDir = getOSLibDir(Triple, Args);
|
||||||
const std::string MultiarchTriple = getMultiarchTriple(D, Triple, SysRoot);
|
const std::string MultiarchTriple = getMultiarchTriple(D, Triple, SysRoot);
|
||||||
|
Loading…
Reference in New Issue
Block a user