mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
made alsa specific to linux. other *nix platforms will use oss
This commit is contained in:
parent
23ffe1ff65
commit
d0d9fba86e
|
@ -219,7 +219,13 @@ function build(settings)
|
|||
else
|
||||
glfw_platform = "x11"
|
||||
pa_platform = "unix"
|
||||
pa_hostapi = "alsa" -- todo, change me
|
||||
|
||||
if platform == "linux" then
|
||||
pa_hostapi = "alsa"
|
||||
else
|
||||
pa_hostapi = "oss"
|
||||
end
|
||||
|
||||
settings.linker.libs:add("pthread")
|
||||
end
|
||||
elseif family == "windows" then
|
||||
|
|
Loading…
Reference in a new issue