diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-05 19:50:24 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-05 19:50:24 +0000 |
| commit | d0d9fba86ef81ebd32f4314d3779c62ed708b634 (patch) | |
| tree | 3bbd3ab77cc03ed40ea9e5cb804763d4327e5acc /default.bam | |
| parent | 23ffe1ff6577adfce7980f961978ed3e8de59ed6 (diff) | |
| download | zcatch-d0d9fba86ef81ebd32f4314d3779c62ed708b634.tar.gz zcatch-d0d9fba86ef81ebd32f4314d3779c62ed708b634.zip | |
made alsa specific to linux. other *nix platforms will use oss
Diffstat (limited to 'default.bam')
| -rw-r--r-- | default.bam | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/default.bam b/default.bam index 4f78b5fe..67f70a9a 100644 --- a/default.bam +++ b/default.bam @@ -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 |