Another build fix.
authorCarl Hetherington <cth@carlh.net>
Thu, 20 Apr 2017 10:15:40 +0000 (11:15 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 20 Apr 2017 10:15:40 +0000 (11:15 +0100)
cscript

diff --git a/cscript b/cscript
index bfb9c88401d73ec71b53321a4f0b89c3d78f0873..c8fe5322abc0710de5d4f6a774b228035f3ceb4f 100644 (file)
--- a/cscript
+++ b/cscript
@@ -23,7 +23,7 @@ def build(target, options):
         cmd += '--enable-debug '
     if target.platform == 'linux':
         cmd += '--with-pulse --with-alsa'
-        if target.distro == 'debian' and target.version == '8':
+        if target.distro == 'debian' and (target.version == '8' or target.version == 'unstable'):
             target.set('LDFLAGS', '-lpulse')
     elif target.platform == 'windows':
         target.append_with_space('CXXFLAGS', '-Iinclude')