More build fixes.
authorCarl Hetherington <cth@carlh.net>
Thu, 20 Apr 2017 10:39:33 +0000 (11:39 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 20 Apr 2017 10:39:33 +0000 (11:39 +0100)
cscript

diff --git a/cscript b/cscript
index c8fe5322abc0710de5d4f6a774b228035f3ceb4f..a09162c25ff52c9120926726d4a3fa1661ae1ea9 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' or target.version == 'unstable'):
+        if target.distro == 'debian' or target.distro == 'ubuntu':
             target.set('LDFLAGS', '-lpulse')
     elif target.platform == 'windows':
         target.append_with_space('CXXFLAGS', '-Iinclude')