More build fixces.
authorCarl Hetherington <cth@carlh.net>
Thu, 20 Apr 2017 12:58:21 +0000 (13:58 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 20 Apr 2017 12:58:21 +0000 (13:58 +0100)
cscript

diff --git a/cscript b/cscript
index a09162c25ff52c9120926726d4a3fa1661ae1ea9..dd8aa22d379efe0e2bdc443e963aa8bf1ab1e00b 100644 (file)
--- a/cscript
+++ b/cscript
@@ -23,8 +23,7 @@ def build(target, options):
         cmd += '--enable-debug '
     if target.platform == 'linux':
         cmd += '--with-pulse --with-alsa'
-        if target.distro == 'debian' or target.distro == 'ubuntu':
-            target.set('LDFLAGS', '-lpulse')
+        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