aboutsummaryrefslogtreecommitdiff
path: root/mesonconf.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-07-19 14:12:40 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2014-07-19 14:12:40 +0300
commit02cb18c93428fb881c453494b4841cd4b2896202 (patch)
tree6d776077c4243927db0013af6e5e76da8ee6fcdc /mesonconf.py
parentf55c81ec23be43573031650a0e142e25dcf20b9e (diff)
downloadmeson-02cb18c93428fb881c453494b4841cd4b2896202.zip
meson-02cb18c93428fb881c453494b4841cd4b2896202.tar.gz
meson-02cb18c93428fb881c453494b4841cd4b2896202.tar.bz2
Off by one error. Fixed.
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 56b08ba..291c475 100755
--- a/mesonconf.py
+++ b/mesonconf.py
@@ -141,7 +141,7 @@ class Conf:
newvalue = v.split()
self.coredata.external_link_args[lang] = newvalue
elif k.endswith('args'):
- lang = k[:-5]
+ lang = k[:-4]
if not lang in self.coredata.external_args:
raise ConfException('Unknown language %s in compile args' % lang)
# TODO same fix as above