make sysroot works properly

This commit is contained in:
its-pointless 2019-02-26 09:20:01 +11:00 committed by Leonid Pliushch
parent 032ed6fb15
commit 857cc35f35
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
// to the link paths.
path_list &Paths = getFilePaths();
+ 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 MultiarchTriple = getMultiarchTriple(D, Triple, SysRoot);