1. fixed typo error

2. add mingw detect
pull/1126/head
L 3 years ago
parent 9df48ee75b
commit a60cfa3724
No known key found for this signature in database
GPG Key ID: 7B8B11806DB67499
  1. 6
      packages/c/crossguid/xmake.lua

@ -7,11 +7,11 @@ package("crossguid")
add_versions("2019.3.29", "ca1bf4b810e2d188d04cb6286f957008ee1b7681") add_versions("2019.3.29", "ca1bf4b810e2d188d04cb6286f957008ee1b7681")
if is_plat("macosx") then if is_plat("macosx") then
add_patches("master", path.join(os.scriptdir(), "patches", "warnings.patch"), "52546cb4b33bb467bd901d54a1bc97a467b5861ff54c5e39063de9540313adbb") add_patches("2019.3.29", path.join(os.scriptdir(), "patches", "warnings.patch"), "52546cb4b33bb467bd901d54a1bc97a467b5861ff54c5e39063de9540313adbb")
elseif is_plat("linux") then elseif is_plat("linux") then
add_deps("libuuid") add_deps("libuuid")
elseif is_plat("windows") then elseif is_plat("windows", "mingw") then
add_syslinks("Ole32") add_syslinks("ole32")
end end
add_deps("cmake") add_deps("cmake")

Loading…
Cancel
Save