diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-07-03 00:14:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-07-03 00:14:15 +0100 |
| commit | aece3367f6d045e912f1a8f9d49146f809902682 (patch) | |
| tree | ff8ecfc5193336a9a335721538bae454d242a70d /cscript | |
| parent | 3889eca5aed17cd7ea680b23580747cb4a18f584 (diff) | |
Try to build openjpeg1 where requested.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -33,8 +33,8 @@ import os -def dependencies(target): - if target.platform == 'windows' and target.version == 'xp': +def dependencies(target, options): + if (target.platform == 'windows' and target.version == 'xp') or ('jpeg' in options and options['jpeg'] == 'oj1'): return (('libcxml', '25e945f'), ('openjpeg-cdist', '5d8bffd'), ('asdcplib-cth', 'f3b0fb8')) else: return (('libcxml', '25e945f'), ('openjpeg2-cdist', '8ea62cc'), ('asdcplib-cth', 'f3b0fb8')) |
