cmd = './waf configure --prefix=%s' % target.directory
if target.platform == 'linux':
cmd += ' --static'
- if target.distro == 'centos':
- cmd += ' --disable-tests'
+ if target.distro == 'centos' or (target.distro == 'ubuntu' and target.version == '16.04'):
+ cmd += ' --static-boost-test'
if target.debug:
cmd += ' --enable-debug'
if target.platform == 'windows':