diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-08-21 23:16:42 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-08-21 23:16:42 +0300 |
commit | e6a868e533724aeeb0e8450d511f30c7f8f22f6d (patch) | |
tree | 9a60a3442c2cb2bfba9ef36e632602e12249e44f /ninjabackend.py | |
parent | 24d23c3086afe687cc93b26a07f504902f4a0b02 (diff) | |
parent | 78739afd9c75fd0b7265536c41922abe7be7a8e4 (diff) | |
download | meson-e6a868e533724aeeb0e8450d511f30c7f8f22f6d.zip meson-e6a868e533724aeeb0e8450d511f30c7f8f22f6d.tar.gz meson-e6a868e533724aeeb0e8450d511f30c7f8f22f6d.tar.bz2 |
Merge pull request #229 from mesonbuild/crossname
Use system() instead of name() which is a confusing term.
Diffstat (limited to 'ninjabackend.py')
-rw-r--r-- | ninjabackend.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ninjabackend.py b/ninjabackend.py index cefed1f..2799227 100644 --- a/ninjabackend.py +++ b/ninjabackend.py @@ -1289,7 +1289,7 @@ rule FORTRAN_DEP_HACK symname = os.path.join(targetdir, target_name + '.symbols') elem = NinjaBuildElement(symname, 'SHSYM', target_name) if self.environment.is_cross_build() and self.environment.cross_info.need_cross_compiler(): - elem.add_item('CROSS', '--cross-host=' + self.environment.cross_info.config['host_machine']['name']) + elem.add_item('CROSS', '--cross-host=' + self.environment.cross_info.config['host_machine']['system']) elem.write(outfile) def generate_link(self, target, outfile, outname, obj_list, linker, extra_args=[]): |