diff options
| author | ruki <[email protected]> | 2024-09-21 22:19:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-09-23 09:43:53 +0800 |
| commit | 62cf6e8821c974cb450ed3fb208d8331860db98a (patch) | |
| tree | 01a143a0cfbe095cf9918dd5881990a9416c5440 /xmake/modules | |
| parent | 7af1ca50e38a7cf21048be7a62bd30103421cceb (diff) | |
fix host arguments
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/private/action/require/impl/package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua index c3fbdd0d0..18d4db592 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -487,7 +487,7 @@ function _check_package_toolchains(package) end else -- maybe this package is host package, it's platform and toolchain has been not checked yet. - local platform_inst = platform.load(package:plat(), package:arch()) + local platform_inst = platform.load(package:plat(), package:arch(), {host = package:is_host()}) if not platform_inst:check() then raise("no any matched platform for this package(%s)!", package:name()) end |
