diff --git a/submodules/minirtc b/submodules/minirtc index cb09142..6e656db 160000 --- a/submodules/minirtc +++ b/submodules/minirtc @@ -1 +1 @@ -Subproject commit cb0914210e0ab32eefb56ef5daa8fe4197c28166 +Subproject commit 6e656dbd8d1315fcad06ff5d3302764dcdba7351 diff --git a/xmake/platform.lua b/xmake/platform.lua index 040263e..46bba3c 100644 --- a/xmake/platform.lua +++ b/xmake/platform.lua @@ -80,6 +80,9 @@ function setup_platform_settings() add_cxflags("-Wno-unused-variable") elseif is_os("macosx") then + if is_arch("x86_64") then + add_ldflags("-Wl,-ld_classic") + end add_cxflags("-Wno-unused-variable") add_frameworks("Cocoa", "OpenGL", "IOSurface", "ScreenCaptureKit", "AVFoundation", "CoreMedia", "CoreVideo", "CoreAudio",