Commit aef035ad authored by Karl Lindén's avatar Karl Lindén
Browse files

make sndfile dependency optional

parent 7a5793d9
......@@ -36,7 +36,7 @@ example_libs = {
def configure(conf):
e = conf.check_cc(header_name='sndfile.h', define_name="HAVE_SNDFILE")
e = conf.check_cc(header_name='sndfile.h', define_name="HAVE_SNDFILE", mandatory=False)
if conf.is_defined('HAVE_SNDFILE'):
conf.env['LIB_SNDFILE'] = ['sndfile']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment