uselib += ['SNDFILE']
# build libaubio
-ctx.shlib(
+from waflib import Options
+if Options.platform == 'ios': build_lib_func = ctx.stlib
+else: build_lib_func = ctx.shlib
+build_lib_func(
includes = ['.'],
source = source,
target = 'aubio',
bld.install_files('${PREFIX}/share/sounds/aubio/',
'sounds/woodblock.aiff')
"""
+
+def shutdown(bld):
+ from waflib import Options, Logs
+ if Options.platform == 'ios':
+ msg ='aubio built for ios, contact the author for a commercial license'
+ Logs.pprint('RED', msg)
+ msg =' Paul Brossier <piem@aubio.org>'
+ Logs.pprint('RED', msg)