aboutsummaryrefslogtreecommitdiff
path: root/mesonconf.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-07-23 19:10:28 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2014-07-23 19:10:28 +0300
commitd61529caf01f5f84ca7d409909462398f3db4e1b (patch)
treee87bd6542485c69f4e08bbb3fb73fdf78abdd829 /mesonconf.py
parent9abc5e0570e931d5039aa0a6d63d0f7945ae7114 (diff)
downloadmeson-d61529caf01f5f84ca7d409909462398f3db4e1b.zip
meson-d61529caf01f5f84ca7d409909462398f3db4e1b.tar.gz
meson-d61529caf01f5f84ca7d409909462398f3db4e1b.tar.bz2
One more off by one error.
Diffstat (limited to 'mesonconf.py')
-rwxr-xr-xmesonconf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonconf.py b/mesonconf.py
index 291c475..9068620 100755
--- a/mesonconf.py
+++ b/mesonconf.py
@@ -133,7 +133,7 @@ class Conf:
else:
raise ConfException('Internal error, unknown option type.')
elif k.endswith('linkargs'):
- lang = k[:-9]
+ lang = k[:-8]
if not lang in self.coredata.external_link_args:
raise ConfException('Unknown language %s in linkargs.' % lang)
# TODO, currently split on spaces, make it so that user