fix: add linkdirs "lib64" on linux-x86_64 (#3108)

* fix(zeromq): force install in "lib"

* Update xmake.lua

* Update xmake.lua

---------

Co-authored-by: ruki <waruqi@gmail.com>
pull/3122/head
zcren 11 months ago committed by GitHub
parent 1f311e8477
commit 493d5fc191
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      packages/z/zeromq/xmake.lua

@ -38,14 +38,12 @@ package("zeromq")
import("package.tools.cmake").install(package, configs)
end)
on_install("linux", "macosx", function (package)
on_install("linux", "macosx|x86_64", function (package)
local configs = {"--disable-dependency-tracking", "--without-docs", "--enable-libbsd=no", "--disable-Werror"}
table.insert(configs, "--enable-static=" .. (package:config("shared") and "no" or "yes"))
table.insert(configs, "--enable-shared=" .. (package:config("shared") and "yes" or "no"))
table.insert(configs, "--enable-libunwind=" .. (package:config("libunwind") and "yes" or "no"))
if package:config("pic") then
table.insert(configs, "--with-pic")
end
table.insert(configs, "--libdir=" .. package:installdir("lib"))
import("package.tools.autoconf").install(package, configs)
end)

Loading…
Cancel
Save