From f6eb177c537157906b1aa13ad30355a36f438e99 Mon Sep 17 00:00:00 2001 From: xpxz <97490782+heheda123123@users.noreply.github.com> Date: Thu, 15 Jun 2023 07:44:08 +0800 Subject: [PATCH] add mingw support to msgpack-c (#2166) --- packages/m/msgpack-c/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/m/msgpack-c/xmake.lua b/packages/m/msgpack-c/xmake.lua index 2fe8c0229..5d9ac2caf 100644 --- a/packages/m/msgpack-c/xmake.lua +++ b/packages/m/msgpack-c/xmake.lua @@ -8,7 +8,7 @@ package("msgpack-c") add_versions("4.0.0", "420fe35e7572f2a168d17e660ef981a589c9cbe77faa25eb34a520e1fcc032c8") add_deps("cmake") - on_install("windows", "macosx", "linux", function (package) + on_install("windows", "macosx", "linux", "mingw", function (package) local configs = {"-DMSGPACK_BUILD_EXAMPLES=OFF", "-DMSGPACK_BUILD_TESTS=OFF", "-DMSGPACK_GEN_COVERAGE=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"))