fix glib for macos

pull/183/head
ruki 4 years ago
parent f2fbb7d49e
commit c5fffe2c03
No known key found for this signature in database
GPG Key ID: 809EF06AD42725BD
  1. 2
      packages/g/glib/xmake.lua

@ -10,6 +10,8 @@ package("glib")
add_deps("meson", "ninja", "libffi", "pcre") add_deps("meson", "ninja", "libffi", "pcre")
if is_plat("linux") then if is_plat("linux") then
add_deps("libiconv") add_deps("libiconv")
elseif is_plat("macosx") then
add_deps("gettext")
end end
add_includedirs("include/glib-2.0", "lib/glib-2.0/include") add_includedirs("include/glib-2.0", "lib/glib-2.0/include")

Loading…
Cancel
Save