浏览代码

try to fix mingw@macosx

star9029 1 年之前
父节点
当前提交
27db43928e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/l/liba52/port/xmake.lua

+ 2 - 2
packages/l/liba52/port/xmake.lua

@@ -11,8 +11,8 @@ if is_plat("windows") and has_config("tools") then
     add_requires("strings_h")
 end
 
-if is_plat("macosx", "iphoneos") then
-    -- Fixes duplicate symbols errors on arm64
+if is_plat("macosx") or (is_host("macosx") and is_plat("mingw")) then
+    -- Fixes duplicate symbols
     set_languages("gnu89")
 end