ref: 30250de50d9052818b1718826a7694d06062b9bd
parent: 5132505685694906bc3b5602a6751f4d9e335d89
author: Paul Brossier <piem@piem.org>
date: Fri Mar 1 08:24:38 EST 2013
wscript: build a static lib for iphone, add a message about licensing
--- a/src/wscript_build
+++ b/src/wscript_build
@@ -14,7 +14,10 @@
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',
--- a/wscript
+++ b/wscript
@@ -227,3 +227,11 @@
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)