Merge branch 'master' of ssh://git.carlh.net/home/carl/git/rtaudio-cdist
[rtaudio-cdist.git] / cscript
diff --git a/cscript b/cscript
index d929b7862f0dceb393e2d9207a48bcbfb7817fa0..1c5dcd029eb4572f661c5e51f43fd675fe56c8d0 100644 (file)
--- a/cscript
+++ b/cscript
@@ -23,6 +23,7 @@ def build(target, options):
         cmd += '--enable-debug '
     if target.platform == 'linux':
         cmd += '--with-pulse --with-alsa'
+        target.set('LDFLAGS', '-lpulse')
     elif target.platform == 'windows':
         target.append_with_space('CXXFLAGS', '-Iinclude')
         cmd += '--with-wasapi --with-ds --host=%s-w64-mingw32' % target.mingw_name