aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorLeif Middelschulte <leif.middelschulte@gmail.com>2017-10-29 18:06:38 +0100
committerLeif Middelschulte <leif.middelschulte@gmail.com>2017-10-29 18:06:38 +0100
commitcf759e529c9753b30bd926a75f629d3562fca990 (patch)
tree896e7fcee6b67bee12bf4c34bc2ff81dc148d51e /mesonbuild
parenta2478d4dab3df995a2d4e352e8467c39b3343f9c (diff)
downloadmeson-cf759e529c9753b30bd926a75f629d3562fca990.zip
meson-cf759e529c9753b30bd926a75f629d3562fca990.tar.gz
meson-cf759e529c9753b30bd926a75f629d3562fca990.tar.bz2
Fixes the `kwargs` handling.
As suggested by @jeandet. Details: https://github.com/mesonbuild/meson/pull/2529#pullrequestreview-72703268
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/modules/qt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/qt.py b/mesonbuild/modules/qt.py
index a7b58db..0b7354f 100644
--- a/mesonbuild/modules/qt.py
+++ b/mesonbuild/modules/qt.py
@@ -129,7 +129,7 @@ class QtBaseModule:
moc_output = moc_gen.process_files('Qt{} moc header'.format(self.qt_version), moc_headers, state)
sources.append(moc_output)
if len(moc_sources) > 0:
- arguments = [moc_extra_arguments, '@INPUT@', '-o', '@OUTPUT@']
+ arguments = moc_extra_arguments + ['@INPUT@', '-o', '@OUTPUT@']
moc_kwargs = {'output': '@BASENAME@.moc',
'arguments': arguments}
moc_gen = build.Generator([self.moc], moc_kwargs)