From 256c5e111051e50436a406b81aba65c09fd61ed2 Mon Sep 17 00:00:00 2001 From: star9029 Date: Sun, 29 Sep 2024 22:49:49 +0800 Subject: [PATCH] libhubbub: improve gperf --- packages/l/libhubbub/xmake.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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)