Jelajahi Sumber

1. fixed typo error
2. add mingw detect

L 3 tahun lalu
induk
melakukan
a60cfa3724
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      packages/c/crossguid/xmake.lua

+ 3 - 3
packages/c/crossguid/xmake.lua

@@ -7,11 +7,11 @@ package("crossguid")
     add_versions("2019.3.29", "ca1bf4b810e2d188d04cb6286f957008ee1b7681")
 
     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
         add_deps("libuuid")
-    elseif is_plat("windows") then
-        add_syslinks("Ole32")
+    elseif is_plat("windows", "mingw") then
+        add_syslinks("ole32")
     end
 
     add_deps("cmake")