aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2017-06-28 08:32:52 -0700
committerJussi Pakkanen <jpakkane@gmail.com>2017-06-29 11:02:44 -0400
commitba3871985a145ccd5aa92317cfd26b08966e8d6f (patch)
treeee57b81f728df6755ca274caadda42380f4f55bc /mesonbuild/compilers/compilers.py
parent7ab774dee535ac2edba1426b103632b2d2d6e38a (diff)
downloadmeson-ba3871985a145ccd5aa92317cfd26b08966e8d6f.zip
meson-ba3871985a145ccd5aa92317cfd26b08966e8d6f.tar.gz
meson-ba3871985a145ccd5aa92317cfd26b08966e8d6f.tar.bz2
add_{project,global}_link_arguments require a 'language' argument
Commit 325a231a added stricter keyword argument checking, but didn't enable keyword arguments for add_projects_link_arguments() and add_global_link_arguments(). This makes them fail with this error: Meson encountered an error in file meson.build, line 19, column 0: Function does not take keyword arguments. However, the language argument is required. Removing it produces this error instead: Meson encountered an error in file meson.build, line 19, column 0: Missing language definition in add_project_link_arguments Fix this by adding 'language' as a required keyword argument. Also add calls to these in the "146 C and CPP link" test case.
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
0 files changed, 0 insertions, 0 deletions