Skip to content

Commit

Permalink
limit capnproto library to x86 due to missing _popcnt & remove mingw …
Browse files Browse the repository at this point in the history
…as it is only supported in old versions
  • Loading branch information
chriku committed Jan 31, 2025
1 parent 2c84ee7 commit 8e0812b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/c/capnproto/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ package("capnproto")
end

add_deps("cmake", "zlib")
on_install("windows", "mingw@windows,msys", "linux", "macosx", "bsd", function (package)
on_install("windows|x86_64", "windows|i386", "linux", "macosx", "bsd", function (package)
local configs = {"-DBUILD_TESTING=OFF"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
Expand Down

0 comments on commit 8e0812b

Please sign in to comment.