summaryrefslogtreecommitdiff
path: root/cscript
blob: 459ddc3aac41fd3f764164a1f1089d8e33dd9b02 (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-libdcp --static-openjpeg'
    elif target.platform == 'windows':
        cmd += ' --target-windows'
    env.command(cmd)
    env.command('./waf build install')