aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>2015-06-18 19:04:11 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2015-06-18 19:25:29 +0300
commit79417eac80695cd50e4fb076afc73cf2543d8212 (patch)
tree36a263906eed4812d8cee836663597d6eb523916
parente72f9b2312439c21d029b05648a9058fdadf0076 (diff)
downloadmeson-79417eac80695cd50e4fb076afc73cf2543d8212.zip
meson-79417eac80695cd50e4fb076afc73cf2543d8212.tar.gz
meson-79417eac80695cd50e4fb076afc73cf2543d8212.tar.bz2
meson: fix undefined-variable in backends chooser
E:146,57: Undefined variable 'options' (undefined-variable) Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
-rwxr-xr-xmeson.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.py b/meson.py
index dc277eb..5fe9cf0 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')