From c5fffe2c03d1b4cfd3fad98c5fc29c81991767f4 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 2 Dec 2020 22:29:27 +0800 Subject: [PATCH] fix glib for macos --- packages/g/glib/xmake.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/g/glib/xmake.lua b/packages/g/glib/xmake.lua index 8b10597a1..8c47bfe4f 100644 --- a/packages/g/glib/xmake.lua +++ b/packages/g/glib/xmake.lua @@ -10,6 +10,8 @@ package("glib") add_deps("meson", "ninja", "libffi", "pcre") if is_plat("linux") then add_deps("libiconv") + elseif is_plat("macosx") then + add_deps("gettext") end add_includedirs("include/glib-2.0", "lib/glib-2.0/include")