Skip to content

Commit

Permalink
libhubbub: improve gperf
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing committed Sep 29, 2024
1 parent 80e4f40 commit 499794d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions packages/l/libhubbub/port/xmake.lua
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
add_rules("mode.debug", "mode.release")

if is_subhost("windows") then
add_requires("strawberry-perl")
add_packages("strawberry-perl")
end
add_requires("gperf")
add_packages("gperf")

add_requires("libparserutils")
add_packages("libparserutils")

if is_plat("windows") then
add_requires("strings_h")
add_packages("strings_h")
end

if is_subhost("windows") then
add_requires("strawberry-perl", "gperf")
add_packages("strawberry-perl", "gperf")
end

target("hubbub")
set_kind("$(kind)")
add_files("src/**.c")
Expand Down
2 changes: 1 addition & 1 deletion packages/l/libhubbub/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package("libhubbub")
if not package:is_precompiled() then
package:add("deps", "gperf")
if is_subhost("windows") then
package:add("deps", "strawberry-perl", "gperf")
package:add("deps", "strawberry-perl")
end
end
end)
Expand Down

0 comments on commit 499794d

Please sign in to comment.