summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2024-04-09 19:36:22 +0200
committerStefan Boberg <[email protected]>2024-04-09 19:36:22 +0200
commit6bf4a28541f4a785db59fdd7bc62c3b2ede4017f (patch)
treea8e2ddfa4947826f8fb4ad9a8837556618fe99ac
parent4fb23e31746f9319e0409592a1b73350ab984f09 (diff)
Fix issue with fetching packages when doing cross-compilation
-rw-r--r--xmake/core/package/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index c777d3ec8..292f774c5 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -1948,7 +1948,7 @@ function _instance:fetch(opt)
end
-- fetch it from the system and external package sources (disabled for cross-compilation)
- if not fetchinfo and system ~= false and not self:is_cross() then
+ if not fetchinfo and system ~= false then
fetchinfo = self:_fetch_library({system = true, require_version = require_ver, external = external, force = opt.force})
if fetchinfo then
is_system = true