summaryrefslogtreecommitdiff
path: root/cscript
blob: 09bd76bb6d0a976999e7e62f981468900bc40c15 (plain)
1
2
3
4
5
6
7
8
9

def build(env, target):
    cmd = './waf configure --prefix=%s' % env.work_dir(True)
    if target.platform == 'linux':
        cmd += ' --static-libdcp --static-openjpeg'
    elif target.platform == 'windows':
        cmd += ' --target-windows'
    env.command(cmd)
    env.command('./waf build install')