summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-05-13 20:42:11 +0800
committerruki <[email protected]>2023-05-13 20:42:11 +0800
commit858d1e5ee847b71213b1c6605ae62c0196bf8fd9 (patch)
tree960e987ce2aba897b9d4778769abad0ab41a17ba /xmake/modules/package/tools/xmake.lua
parentcc343fcbf078ea5960aefa946c836f3d3fd4863c (diff)
pass qt/vcpkg in tools.xmake
Diffstat (limited to 'xmake/modules/package/tools/xmake.lua')
-rw-r--r--xmake/modules/package/tools/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/xmake.lua b/xmake/modules/package/tools/xmake.lua
index 36039ffa4..0018128ef 100644
--- a/xmake/modules/package/tools/xmake.lua
+++ b/xmake/modules/package/tools/xmake.lua
@@ -96,7 +96,7 @@ function _get_configs(package, configs, opt)
end
end
else
- local names = {"ndk", "ndk_sdkver", "vs", "vs_toolset", "mingw", "ld", "sh", "ar", "cc", "cxx", "mm", "mxx"}
+ local names = {"ndk", "ndk_sdkver", "vs", "vs_toolset", "mingw", "qt", "vcpkg", "ld", "sh", "ar", "cc", "cxx", "mm", "mxx"}
-- We only set the sdk directory when doing cross-compilation,
-- otherwise the host dependency package may also use the cross-compilation toolchain in sdk incorrectly.
-- e.g. build host python -> host zlib -> xmake f --plat=linux --arch=x86_64 --sdk=/tmp/aarch64-linux-musl-cross -> incorrect cross compilation