ninjabackend: Add missing ninja_quote for cross compilation rule.

pull/591/head
Martin Hostettler 9 years ago
parent 5384a203f3
commit 7bd424fea6
  1. 2
      mesonbuild/backend/ninjabackend.py

@ -1220,7 +1220,7 @@ rule FORTRAN_DEP_HACK
else: else:
command_template = ' command = %s %s $ARGS %s %s %s $in\n' command_template = ' command = %s %s $ARGS %s %s %s $in\n'
command = command_template % \ command = command_template % \
(' '.join(compiler.get_exelist()),\ (' '.join([ninja_quote(i) for i in compiler.get_exelist()]),\
' '.join(cross_args), ' '.join(cross_args),
' '.join(quoted_depargs),\ ' '.join(quoted_depargs),\
' '.join(compiler.get_output_args('$out')),\ ' '.join(compiler.get_output_args('$out')),\

Loading…
Cancel
Save