Browse Source

fixed build error on iphoneos

L 3 years ago
parent
commit
b63c0fc6d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/c/crossguid/xmake.lua

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

@@ -6,7 +6,7 @@ package("crossguid")
     add_urls("https://github.com/graeme-hill/crossguid.git")
     add_versions("2019.3.29", "ca1bf4b810e2d188d04cb6286f957008ee1b7681")
 
-    if is_plat("macosx") then
+    if is_plat("macosx", "iphoneos") then
         add_patches("2019.3.29", path.join(os.scriptdir(), "patches", "warnings.patch"), "52546cb4b33bb467bd901d54a1bc97a467b5861ff54c5e39063de9540313adbb")
     elseif is_plat("linux") then
         add_deps("libuuid")