try to fix mingw i386

pull/5295/head
star9029 2 months ago
parent cccab17e4f
commit 7b49df91aa
  1. 2
      packages/a/aws-c-common/xmake.lua
  2. 2
      packages/a/aws-checksums/xmake.lua

@ -32,7 +32,7 @@ package("aws-c-common")
add_deps("cmake") add_deps("cmake")
on_install("!mingw or mingw|!i386", function (package) on_install(function (package)
if package:is_plat("windows") and package:config("shared") then if package:is_plat("windows") and package:config("shared") then
package:add("defines", "AWS_COMMON_USE_IMPORT_EXPORT") package:add("defines", "AWS_COMMON_USE_IMPORT_EXPORT")
end end

@ -32,7 +32,7 @@ package("aws-checksums")
end) end)
end end
on_install("!mingw or mingw|!i386", function (package) on_install(function (package)
if package:is_plat("windows") and package:config("shared") then if package:is_plat("windows") and package:config("shared") then
package:add("defines", "AWS_CHECKSUMS_USE_IMPORT_EXPORT") package:add("defines", "AWS_CHECKSUMS_USE_IMPORT_EXPORT")
end end

Loading…
Cancel
Save