diff --git a/bam.lua b/bam.lua index 7dff3c629..9fe45e10d 100644 --- a/bam.lua +++ b/bam.lua @@ -257,7 +257,11 @@ function build(settings) client_settings.link.frameworks:Add("Cocoa") launcher_settings.link.frameworks:Add("Cocoa") - if arch == "amd64" then + client_settings.link.libs:Add("opusfile") + client_settings.link.libs:Add("opus") + client_settings.link.libs:Add("ogg") + + if string.find(settings.config_name, "64") then client_settings.link.libpath:Add("other/opus/mac/lib64") else client_settings.link.libpath:Add("other/opus/mac/lib32") diff --git a/other/opus/mac/lib32/libopusfile.a b/other/opus/mac/lib32/libopusfile.a index d0745252a..3b7232072 100644 Binary files a/other/opus/mac/lib32/libopusfile.a and b/other/opus/mac/lib32/libopusfile.a differ