From 6bf4a28541f4a785db59fdd7bc62c3b2ede4017f Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Tue, 9 Apr 2024 19:36:22 +0200 Subject: Fix issue with fetching packages when doing cross-compilation --- xmake/core/package/package.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1