diff options
| author | ruki <[email protected]> | 2023-12-02 00:34:11 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-12-02 00:34:11 +0800 |
| commit | 09730d0bdf2689887983070ddb18f2112ad141bd (patch) | |
| tree | ef5e23bb9b27c8c390e231937c8e358df6a5e8e1 | |
| parent | 9efd45f108c6fe2e06cba2ca4bb63ffaf35bd8b0 (diff) | |
fix emar flags #4456
| -rw-r--r-- | xmake/modules/package/tools/autoconf.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua index 8aa03452e..02bcec28c 100644 --- a/xmake/modules/package/tools/autoconf.lua +++ b/xmake/modules/package/tools/autoconf.lua @@ -324,7 +324,7 @@ function buildenvs(package, opt) envs.CPP = _translate_windows_bin_path(envs.CPP) envs.RANLIB = _translate_windows_bin_path(envs.RANLIB) end - elseif package:is_plat("cross") or package:has_tool("ar", "ar") then + elseif package:is_plat("cross") or package:has_tool("ar", "ar", "emar") then -- only for cross-toolchain envs.CXX = package:build_getenv("cxx") if not envs.ARFLAGS or envs.ARFLAGS == "" then |
