diff options
| author | star9029 <[email protected]> | 2025-01-27 16:01:47 +0800 |
|---|---|---|
| committer | star9029 <[email protected]> | 2025-01-27 16:01:47 +0800 |
| commit | d600433e0064db699511719b63550459e71d4f0c (patch) | |
| tree | 845350ad694704bde83bbbb34ec42a2e46854d23 /xmake/modules/package/tools/meson.lua | |
| parent | 897c5ab091733ff963fab2e1f2ce30687cd6d44c (diff) | |
Fix clang flag
Diffstat (limited to 'xmake/modules/package/tools/meson.lua')
| -rw-r--r-- | xmake/modules/package/tools/meson.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/meson.lua b/xmake/modules/package/tools/meson.lua index 503092acc..a9876fe6b 100644 --- a/xmake/modules/package/tools/meson.lua +++ b/xmake/modules/package/tools/meson.lua @@ -69,7 +69,7 @@ function _translate_flags(package, flags) if package:is_plat("android") then local flags_new = {} for _, flag in ipairs(flags) do - if flag:startswith("-gcc-toolchain ") or flag:startswith("--target=") or flag:startswith("-isystem ") then + if flag:startswith("--gcc-toolchain=") or flag:startswith("--target=") or flag:startswith("-isystem ") then table.join2(flags_new, flag:split(" ", {limit = 2})) else table.insert(flags_new, flag) |
