Skip to content

Commit

Permalink
Revert "Update gettext package to handle binary installation"
Browse files Browse the repository at this point in the history
This reverts commit d51bbee.
  • Loading branch information
Doekin committed Oct 9, 2024
1 parent 58f5e14 commit 5f0ca6c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/g/gettext/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,5 @@ package("gettext")
end)

on_test(function (package)
if package:is_binary() then
assert(os.isfile(path.join(package:installdir(), "bin", "gettext")))
else
assert(package:has_cfuncs("ngettext", {includes = "libintl.h"}))
end
assert(package:has_cfuncs("ngettext", {includes = "libintl.h"}))
end)

0 comments on commit 5f0ca6c

Please sign in to comment.