From: Carl Hetherington Date: Thu, 20 Apr 2017 09:42:18 +0000 (+0100) Subject: Try to fix build on debian-8-32. X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=aa8596394bae0d692d14d6acfca302ec8e6981fd;p=rtaudio-cdist.git Try to fix build on debian-8-32. --- diff --git a/cscript b/cscript index 3a1c8b3..d22f7d3 100644 --- a/cscript +++ b/cscript @@ -19,10 +19,13 @@ def build(target, options): cmd = './configure --prefix=%s --disable-shared --enable-static ' % target.directory + environment = '' if target.debug: cmd += '--enable-debug ' if target.platform == 'linux': cmd += '%s --with-pulse --with-alsa' + if target.distro == 'debian' and target.version == '8' and target.bits == 32: + environment = 'LDFLAGS=-lpulse' elif target.platform == 'windows': target.append_with_space('CXXFLAGS', '-Iinclude') cmd += '--with-wasapi --with-ds --host=%s-w64-mingw32' % target.mingw_name @@ -30,5 +33,5 @@ def build(target, options): cmd += '--with-core' % common target.command(cmd) - target.command('make -j%d' % target.parallel) + target.command('%s make -j%d' % (environment, target.parallel)) target.command('make install')