浏览代码

fixed build error on iphoneos

L 3 年之前
父节点
当前提交
b63c0fc6d5
共有 1 个文件被更改,包括 1 次插入1 次删除
  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")