made alsa specific to linux. other *nix platforms will use oss

This commit is contained in:
Magnus Auvinen 2008-03-05 19:50:24 +00:00
parent 23ffe1ff65
commit d0d9fba86e

View file

@ -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