Skip to content

Commit

Permalink
Fix issue with fetching packages when doing cross-compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
bionicbeagle committed Apr 9, 2024
1 parent 4fb23e3 commit 6bf4a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/core/package/package.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6bf4a28

Please sign in to comment.