fix msys2-mingw-i386

pull/5848/head
star9029 3 months ago
parent 2c4fd13340
commit 3c49d1fbce
  1. 4
      packages/p/protobuf-cpp/xmake.lua

@ -152,7 +152,9 @@ package("protobuf-cpp")
end) end)
on_test(function (package) on_test(function (package)
if not package:is_cross() then if not package:is_cross() and
-- Missing libgcc_s_xxx.dll, Maybe msys2 bug
not (is_subhost("msys") and package:is_plat("mingw", "msys") and package:is_arch("i386")) then
io.writefile("test.proto", [[ io.writefile("test.proto", [[
syntax = "proto3"; syntax = "proto3";
package test; package test;

Loading…
Cancel
Save