blob: 97e2d4b9c0c2d646c6acf0edd084e6ad19789202 (
plain)
1
2
3
4
5
6
7
8
9
10
|
def build(target):
cmd = './waf configure --prefix=%s/%s' % (target.work_dir_cscript(), target.install_prefix)
if target.platform == 'linux':
cmd += ' --static'
elif target.platform == 'windows':
cmd += ' --target-windows'
elif target.platform == 'osx':
cmd += ' --osx'
target.command(cmd)
target.command('./waf build install')
|