فهرست منبع

add util-linux for glib

ruki 6 سال پیش
والد
کامیت
c50e70d59b
2فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 2 1
      packages/g/glib/xmake.lua
  2. 1 0
      packages/u/util-linux/xmake.lua

+ 2 - 1
packages/g/glib/xmake.lua

@@ -8,8 +8,9 @@ package("glib")
     add_versions("2.60.2", "2ef15475060addfda0443a7e8a52b28a10d5e981e82c083034061daf9a8f80d9")
     add_versions("2.60.2", "2ef15475060addfda0443a7e8a52b28a10d5e981e82c083034061daf9a8f80d9")
 
 
     add_deps("meson", "ninja", "libffi", "pcre")
     add_deps("meson", "ninja", "libffi", "pcre")
-    if not is_plat("macosx") then
+    if is_plat("linux") then
         add_deps("libiconv")
         add_deps("libiconv")
+        add_deps("util-linux", {configs = {libmount = true}})
     end
     end
 
 
     add_includedirs("include/glib-2.0", "lib/glib-2.0/include")
     add_includedirs("include/glib-2.0", "lib/glib-2.0/include")

+ 1 - 0
packages/u/util-linux/xmake.lua

@@ -14,6 +14,7 @@ package("util-linux")
     add_configs("ipcrm",              { description = "Enable ipcrm.", default = false, type = "boolean"})
     add_configs("ipcrm",              { description = "Enable ipcrm.", default = false, type = "boolean"})
     add_configs("wall",               { description = "Enable wall.", default = false, type = "boolean"})
     add_configs("wall",               { description = "Enable wall.", default = false, type = "boolean"})
     add_configs("libuuid",            { description = "Enable libuuid.", default = false, type = "boolean"})
     add_configs("libuuid",            { description = "Enable libuuid.", default = false, type = "boolean"})
+    add_configs("libmount",           { description = "Enable libmount.", default = false, type = "boolean"})
     add_configs("libsmartcols",       { description = "Enable libsmartcols.", default = false, type = "boolean"})
     add_configs("libsmartcols",       { description = "Enable libsmartcols.", default = false, type = "boolean"})
     add_configs("use-tty-group",      { description = "Enable use-tty-group.", default = false, type = "boolean"})
     add_configs("use-tty-group",      { description = "Enable use-tty-group.", default = false, type = "boolean"})
     add_configs("kill",               { description = "Enable kill.", default = false, type = "boolean"})
     add_configs("kill",               { description = "Enable kill.", default = false, type = "boolean"})