def build(target, options):
cmd = './configure --prefix=%s --disable-shared --enable-static ' % target.directory
+ if target.debug:
+ cmd += '--enable-debug '
if target.platform == 'linux':
cmd += '%s --with-pulse --with-alsa'
elif target.platform == 'windows':