summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/main.lua
diff options
context:
space:
mode:
author inte alls <inte@localhost.localdomain>2017-01-11 20:24:00 +0100
committer inte alls <inte@localhost.localdomain>2017-01-11 20:24:00 +0100
commitcd03a642849d567e2f42355bf18ca99cb600b246 (patch)
tree1a64cd6c370ad980d6d03499baf45dc208fa2473 /scripts/src/main.lua
parent37e8b161d80efea67d5bfc71d58d050628ba7820 (diff)
Initial PortAudio backend with build script changes to support library version 20161030
Diffstat (limited to 'scripts/src/main.lua')
-rw-r--r--scripts/src/main.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/src/main.lua b/scripts/src/main.lua
index 22bef465c18..0a92b1fed57 100644
--- a/scripts/src/main.lua
+++ b/scripts/src/main.lua
@@ -284,6 +284,16 @@ if (STANDALONE~=true) then
}
end
+ if _OPTIONS["NO_USE_PORTAUDIO"]~="1" then
+ links {
+ ext_lib("portaudio"),
+ }
+ if _OPTIONS["targetos"]=="windows" then
+ links {
+ "setupapi",
+ }
+ end
+ end
if _OPTIONS["NO_USE_MIDI"]~="1" then
links {
ext_lib("portmidi"),