def build(target, options): cmd = './waf configure --without-libsndfile --prefix=%s' % target.directory if target.platform == 'linux': cmd += ' --static' target.command(cmd) target.command('./waf build install')