Browse Source

make sysroot works properly

android-5
its-pointless 6 years ago
committed by Leonid Plyushch
parent
commit
1884916ad0
  1. 2
      packages/libllvm/tools-clang-lib-Driver-ToolChains-Linux.cpp.patch

2
packages/libllvm/tools-clang-lib-Driver-ToolChains-Linux.cpp.patch

@ -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);

Loading…
Cancel
Save