aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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