Add AudioToolbox framework when building SDL2 on macOS, fixes TOOLS=1 link errors [R. Belmont]

This commit is contained in:
arbee 2020-12-13 16:48:55 -05:00
parent b66b299b6e
commit ca1bf9a040

View File

@ -276,6 +276,7 @@ if BASE_TARGETOS=="unix" then
end end
if _OPTIONS["with-bundled-sdl2"]~=nil then if _OPTIONS["with-bundled-sdl2"]~=nil then
linkoptions { linkoptions {
"-framework AudioToolbox",
"-framework AudioUnit", "-framework AudioUnit",
"-framework CoreAudio", "-framework CoreAudio",
"-framework Carbon", "-framework Carbon",