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")
     add_requires("strings_h")
 end
 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")
     set_languages("gnu89")
 end
 end