diff options
| author | ruki <[email protected]> | 2026-03-23 23:54:20 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-03-23 23:54:20 +0800 |
| commit | 7bf56c079214f65d5de92e4bd2cc58d969694477 (patch) | |
| tree | 9948e70666bea83d1f112f80a23e8c7a1f8a9d92 /xmake/modules/private/action | |
| parent | 9659e157cd39571cfdd264ce8a2743b9a99175dc (diff) | |
fix some typos
Diffstat (limited to 'xmake/modules/private/action')
| -rw-r--r-- | xmake/modules/private/action/require/impl/actions/install.lua | 2 | ||||
| -rw-r--r-- | xmake/modules/private/action/trybuild/autoconf.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/action/require/impl/actions/install.lua b/xmake/modules/private/action/require/impl/actions/install.lua index 676bd8be5..94f8007b3 100644 --- a/xmake/modules/private/action/require/impl/actions/install.lua +++ b/xmake/modules/private/action/require/impl/actions/install.lua @@ -231,7 +231,7 @@ function _fix_paths_for_precompiled_package(package) for _, file in ipairs(os.files(filepattern)) do if remote_prefix then local _, count = io.replace(file, remote_prefix, local_prefix, {plain = true}) - -- maybe we need to translate path seperator + -- maybe we need to translate path separator -- @see https://github.com/xmake-io/xmake/discussions/3008 if count == 0 and is_host("windows") then io.replace(file, (remote_prefix:gsub("\\", "/")), local_prefix:gsub("\\", "/"), {plain = true}) diff --git a/xmake/modules/private/action/trybuild/autoconf.lua b/xmake/modules/private/action/trybuild/autoconf.lua index f4771f060..313d12fe6 100644 --- a/xmake/modules/private/action/trybuild/autoconf.lua +++ b/xmake/modules/private/action/trybuild/autoconf.lua @@ -200,7 +200,7 @@ function _get_configs(artifacts_dir) end end - -- add host for cross-complation + -- add host for cross-compilation if _is_cross_compilation() then if is_plat("iphoneos", "macosx") then local triples = |
