diff --git a/packages/l/libhubbub/xmake.lua b/packages/l/libhubbub/xmake.lua index 7ab0632b8da..b42a5f9caed 100644 --- a/packages/l/libhubbub/xmake.lua +++ b/packages/l/libhubbub/xmake.lua @@ -16,8 +16,11 @@ package("libhubbub") end on_load(function (package) - if is_subhost("windows") and not package:is_precompiled() then - package:add("deps", "strawberry-perl", "gperf") + if not package:is_precompiled() then + package:add("deps", "gperf") + if is_subhost("windows") then + package:add("deps", "strawberry-perl", "gperf") + end end end)