diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-07-03 00:44:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-07-03 00:44:14 +0100 |
| commit | 2b32ff2aea16ad128f2e883d8b44f4249ad5da0b (patch) | |
| tree | 96f646546d1540045c4535c323940c2aa1405eda /cscript | |
| parent | aece3367f6d045e912f1a8f9d49146f809902682 (diff) | |
Tidy jpeg option passing.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -41,8 +41,8 @@ def dependencies(target, options): 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 'jpeg' in options: + cmd += ' --jpeg=%s' % options['jpeg'] if target.platform == 'linux': cmd += ' --static' if target.distro == 'centos': |
