summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-07-03 00:14:15 +0100
committerCarl Hetherington <cth@carlh.net>2017-07-03 00:14:15 +0100
commitaece3367f6d045e912f1a8f9d49146f809902682 (patch)
treeff8ecfc5193336a9a335721538bae454d242a70d /cscript
parent3889eca5aed17cd7ea680b23580747cb4a18f584 (diff)
Try to build openjpeg1 where requested.
Diffstat (limited to 'cscript')
-rw-r--r--cscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/cscript b/cscript
index a16bc831..f81d0796 100644
--- a/cscript
+++ b/cscript
@@ -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'))