diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2017-06-28 08:32:52 -0700 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-06-29 11:02:44 -0400 |
commit | ba3871985a145ccd5aa92317cfd26b08966e8d6f (patch) | |
tree | ee57b81f728df6755ca274caadda42380f4f55bc /mesonbuild/compilers/compilers.py | |
parent | 7ab774dee535ac2edba1426b103632b2d2d6e38a (diff) | |
download | meson-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