From: Paul Brossier Date: Fri, 1 Mar 2013 18:24:38 +0000 (-0500) Subject: wscript: build a static lib for iphone, add a message about licensing X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=30250de50d9052818b1718826a7694d06062b9bd;p=aubio.git wscript: build a static lib for iphone, add a message about licensing --- diff --git a/src/wscript_build b/src/wscript_build index 1fa905d7..ed9ef389 100644 --- a/src/wscript_build +++ b/src/wscript_build @@ -14,7 +14,10 @@ if 'HAVE_SNDFILE': 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', diff --git a/wscript b/wscript index 8704ae03..f78f89d0 100644 --- a/wscript +++ b/wscript @@ -227,3 +227,11 @@ def build(bld): 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 ' + Logs.pprint('RED', msg)