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