diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-18 14:55:20 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-18 14:55:20 +0100 |
| commit | f23321d94fa04c184b857d0dcee92f50007f1e95 (patch) | |
| tree | c25fa8b6a2122d7e6d1e30e50169f6038b874931 | |
| parent | e0a41071500a99b5d6abe103d246fb60dcfcd6b0 (diff) | |
Adapt for cdist changes.
| -rw-r--r-- | cscript | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,11 +1,11 @@ -def build(env, target): - cmd = './configure --prefix=%s --disable-lcms1 --disable-lcms2 --disable-tiff' % env.work_dir_cscript() +def build(target): + cmd = './configure --prefix=%s --disable-lcms1 --disable-lcms2 --disable-tiff' % target.work_dir_cscript() if target.platform == 'windows': cmd += ' --host=%s' % target.host elif target.platform == 'osx': cmd += ' --disable-dependency-tracking' - env.command(cmd) - env.command('make -j2 V=1') - env.command('make install') + target.command(cmd) + target.command('make -j2 V=1') + target.command('make install') |
