improve libuv

pull/13/head
ruki 6 years ago
parent 4f81b9f163
commit c5a049cdcc
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 6
      packages/c/cairo/xmake.lua
  2. 4
      packages/l/libuv/xmake.lua

@ -15,9 +15,9 @@ package("cairo")
-- table.insert(configs, "--enable-gobject=yes")
table.insert(configs, "--enable-svg=yes")
table.insert(configs, "--enable-tee=yes")
table.insert(configs, "--enable-quartz-image")
table.insert(configs, "--enable-xlib=no")
table.insert(configs, "--enable-xlib-xrender=no")
table.insert(configs, "--enable-quartz-image=" .. (is_plat("macosx") and "yes" or "no"))
table.insert(configs, "--enable-xlib=" .. (is_plat("macosx") and "no" or "yes"))
table.insert(configs, "--enable-xlib-xrender=" .. (is_plat("macosx") and "no" or "yes"))
import("package.tools.autoconf").install(package, configs)
end)

@ -31,3 +31,7 @@ package("libuv")
on_install("macosx", "linux", function (package)
import("package.tools.autoconf").install(package)
end)
on_test(function (package)
assert(package:has_cfuncs("uv_tcp_init", {includes = "uv.h"}))
end)

Loading…
Cancel
Save