diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-07-24 12:12:50 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-07-24 12:12:50 +0100 |
| commit | 8778b7926b2b644f5726adc97cb15c8b25ac4fe0 (patch) | |
| tree | 82d5d5cec2ee1cb292d045827a1cf5f82c6e15c8 /cscript | |
| parent | a4b28be9b47ca541bda1153feca9a37bbb304be6 (diff) | |
Fix build on Windows with no options.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ import os def dependencies(target, options): - if (target.platform == 'windows' and target.version == 'xp') or ('jpeg' in options and options['jpeg'] == 'oj1'): + if (target.platform == 'windows' and target.version == 'xp') or (options is not None and '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')) |
