diff options
Diffstat (limited to 'xmake/modules/package/tools/autoconf.lua')
| -rw-r--r-- | xmake/modules/package/tools/autoconf.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua index 4d2a404ed..8d312a76a 100644 --- a/xmake/modules/package/tools/autoconf.lua +++ b/xmake/modules/package/tools/autoconf.lua @@ -384,7 +384,8 @@ function buildenvs(package, opt) -- force to apply shflags on macosx https://gmplib.org/manual/Known-Build-Problems envs.CC = envs.CC .. " -arch " .. package:arch() end - if package:is_plat("cross") or package:has_tool("ar", "ar", "emar") then + -- android r27 will use llmv-ar instead of ar, https://github.com/xmake-io/xmake/issues/6206 + if package:is_plat("cross") or package:has_tool("ar", "ar", "emar", "llvm_ar") then -- only for cross-toolchain envs.CXX = package:build_getenv("cxx") if not envs.ARFLAGS or envs.ARFLAGS == "" then |
