mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-12 19:18:20 +00:00
Opus working with Mac
This commit is contained in:
parent
5604629468
commit
bb484c0f58
6
bam.lua
6
bam.lua
|
@ -257,7 +257,11 @@ function build(settings)
|
||||||
client_settings.link.frameworks:Add("Cocoa")
|
client_settings.link.frameworks:Add("Cocoa")
|
||||||
launcher_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")
|
client_settings.link.libpath:Add("other/opus/mac/lib64")
|
||||||
else
|
else
|
||||||
client_settings.link.libpath:Add("other/opus/mac/lib32")
|
client_settings.link.libpath:Add("other/opus/mac/lib32")
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue