From aece3367f6d045e912f1a8f9d49146f809902682 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 3 Jul 2017 00:14:15 +0100 Subject: Try to build openjpeg1 where requested. --- cscript | 4 ++-- 1 file 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')) -- cgit v1.2.3