summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-07-02 22:39:21 +0100
committerCarl Hetherington <cth@carlh.net>2017-07-02 22:39:21 +0100
commit3889eca5aed17cd7ea680b23580747cb4a18f584 (patch)
treea979bfe50fa7ecfd8b1d4e27b1fc99087f9f5959
parenta1d530be29598018b32b0b709fd8c769e972bd15 (diff)
Try to allow building with openjpeg1 by passing in a cdist option.
-rw-r--r--cscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/cscript b/cscript
index 230b9211..a16bc831 100644
--- a/cscript
+++ b/cscript
@@ -41,6 +41,8 @@ def dependencies(target):
def build(target, options):
cmd = './waf configure --disable-examples --prefix=%s' % target.directory
+ if 'jpeg' in options and options['jpeg'] == 'oj1':
+ cmd += ' --jpeg=oj1'
if target.platform == 'linux':
cmd += ' --static'
if target.distro == 'centos':