aboutsummaryrefslogtreecommitdiff
path: root/ninjabackend.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-08-16 22:50:09 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2015-08-16 23:32:39 +0300
commit78739afd9c75fd0b7265536c41922abe7be7a8e4 (patch)
tree2eac60fbe83640b2d9e0bcd15c883f827d98dba7 /ninjabackend.py
parent63572626c69fc888b6fa94d00cf1bfcb7bb3c652 (diff)
downloadmeson-78739afd9c75fd0b7265536c41922abe7be7a8e4.zip
meson-78739afd9c75fd0b7265536c41922abe7be7a8e4.tar.gz
meson-78739afd9c75fd0b7265536c41922abe7be7a8e4.tar.bz2
Use system() instead of name() which is a confusing term.
Diffstat (limited to 'ninjabackend.py')
-rw-r--r--ninjabackend.py2
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=[]):