Преглед на файлове

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