summaryrefslogtreecommitdiff
path: root/cscript
blob: 183f908c6075e793691a67ac53089db24b75cba6 (plain)
1
2
3
4
5
6
7
8
def build(target):
    cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
    if target.platform == 'linux':
        cmd += ' --static'
    elif target.platform == 'windows':
        cmd += ' --target-windows'
    target.command(cmd)
    target.command('./waf build install')