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'))