diff options
author | Cody Schafer <jmesmon@gmail.com> | 2019-06-27 13:36:09 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-06-27 20:36:09 +0300 |
commit | 11248eb203e16dae6dc288d148b20b44fb0a5ac0 (patch) | |
tree | 307b8b0741673d7bd66fdb7a28294fa58a1d8e3c /mesonbuild/build.py | |
parent | ecbfc08dcacf015f9fd9e921a2136c80528f2809 (diff) | |
download | meson-11248eb203e16dae6dc288d148b20b44fb0a5ac0.zip meson-11248eb203e16dae6dc288d148b20b44fb0a5ac0.tar.gz meson-11248eb203e16dae6dc288d148b20b44fb0a5ac0.tar.bz2 |
sanitycheckc: avoid linking sanitycheckc when cross compiling
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r-- | mesonbuild/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 9d40944..55b1629 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -1062,7 +1062,7 @@ You probably should put it in link_with instead.''') msg += "Use the 'pic' option to static_library to build with PIC." raise InvalidArguments(msg) if self.for_machine is not t.for_machine: - msg = 'Tried to mix libraries for machines {1} and {2} in target {!r}'.format(self.name, self.for_machine, t.for_machine) + msg = 'Tried to mix libraries for machines {} and {} in target {!r}'.format(self.for_machine, t.for_machine, self.name) if self.environment.is_cross_build(): raise InvalidArguments(msg + ' This is not possible in a cross build.') else: |