summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/cscript b/cscript
index 33e804a3..c9ba6d33 100644
--- a/cscript
+++ b/cscript
@@ -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'))