From 052ad3b54a2c775e48dd8478aa23998834e7ba32 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 24 Jul 2017 12:14:30 +0100 Subject: Further adventures in fixing build with options==None. --- cscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cscript') diff --git a/cscript b/cscript index c9ba6d33..217d96cf 100644 --- a/cscript +++ b/cscript @@ -41,7 +41,7 @@ def dependencies(target, options): def build(target, options): cmd = './waf configure --disable-examples --prefix=%s' % target.directory - if 'jpeg' in options: + if options is not None and 'jpeg' in options: cmd += ' --jpeg=%s' % options['jpeg'] if target.platform == 'linux': cmd += ' --static' -- cgit v1.2.3