summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/main.lua
diff options
context:
space:
mode:
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"),