enable static/shared for zeromq

pull/39/head
ruki 5 years ago
parent 76418bb105
commit 543364507b
No known key found for this signature in database
GPG Key ID: 809EF06AD42725BD
  1. 8
      packages/z/zeromq/xmake.lua

@ -19,7 +19,13 @@ package("zeromq")
end)
on_install("linux", "macosx", function (package)
import("package.tools.autoconf").install(package)
local configs = {}
if package:config("shared") then
table.insert(configs, "--enable-shared=yes")
else
table.insert(configs, "--enable-shared=no")
end
import("package.tools.autoconf").install(package, configs)
end)
on_test(function (package)

Loading…
Cancel
Save