cmd += '--enable-debug '
if target.platform == 'linux':
cmd += '--with-pulse --with-alsa'
+ 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
+ cmd += '--with-wasapi --with-ds --host=%s' % target.name
elif target.platform == 'osx':
- cmd += '--with-core' % common
+ cmd += '--with-core'
target.command(cmd)
target.command('make -j%d' % target.parallel)