From 79417eac80695cd50e4fb076afc73cf2543d8212 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 18 Jun 2015 19:04:11 +0300 Subject: meson: fix undefined-variable in backends chooser E:146,57: Undefined variable 'options' (undefined-variable) Signed-off-by: Igor Gnatenko --- meson.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meson.py') diff --git a/meson.py b/meson.py index dc277eb2c..5fe9cf0b5 100755 --- a/meson.py +++ b/meson.py @@ -137,7 +137,7 @@ itself as required.''' import xcodebackend g = xcodebackend.XCodeBackend(b, intr) else: - raise RuntimeError('Unknown backend "%s".' % options.backend) + raise RuntimeError('Unknown backend "%s".' % self.options.backend) g.generate() env.generating_finished() dumpfile = os.path.join(env.get_scratch_dir(), 'build.dat') -- cgit v1.2.3