diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-11-08 15:35:37 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-11-08 16:05:32 +0530 |
commit | 7400284e3233d7974beb53761db97885e26d1547 (patch) | |
tree | 79f68d3bb2fd55684114e7d7f7112a0ff3ca2ba5 | |
parent | 4d84241ccf515446b49ddbe19683184b5a4e5a13 (diff) | |
download | meson-7400284e3233d7974beb53761db97885e26d1547.zip meson-7400284e3233d7974beb53761db97885e26d1547.tar.gz meson-7400284e3233d7974beb53761db97885e26d1547.tar.bz2 |
has_function: Fix trivial typo
This was breaking has_function on C++
-rw-r--r-- | mesonbuild/compilers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py index 31cafa6..9b6ad8c 100644 --- a/mesonbuild/compilers.py +++ b/mesonbuild/compilers.py @@ -980,7 +980,7 @@ int main(int argc, char **argv) { templ = head + stubs_fail + main args = extra_args + self.get_compiler_check_args() - if self.links(templ.format(prefix, funcname), env, extra_args, dependencies): + if self.links(templ.format(prefix, funcname), env, args, dependencies): return True # Some functions like alloca() are defined as compiler built-ins which # are inlined by the compiler, so test for that instead. Built-ins are |