Bladeren bron

fix macosx build

star9029 1 jaar geleden
bovenliggende
commit
123f718b62
1 gewijzigde bestanden met toevoegingen van 5 en 0 verwijderingen
  1. 5 0
      packages/l/liba52/port/xmake.lua

+ 5 - 0
packages/l/liba52/port/xmake.lua

@@ -11,6 +11,11 @@ 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
+    set_languages("gnu89")
+end
+
 rule("tools")
 rule("tools")
     on_load(function (target)
     on_load(function (target)
         if not get_config("tools") then
         if not get_config("tools") then