Skip to content

Commit

Permalink
fix: add linkdirs "lib64" on linux-x86_64 (#3108)
Browse files Browse the repository at this point in the history
* fix(zeromq): force install in "lib"

* Update xmake.lua

* Update xmake.lua

---------

Co-authored-by: ruki <[email protected]>
  • Loading branch information
mark03 and waruqi authored Jan 17, 2024
1 parent 1f311e8 commit 493d5fc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/z/zeromq/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 493d5fc

Please sign in to comment.