aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>2015-06-19 10:20:51 +0300
committerIgor Gnatenko <i.gnatenko.brain@gmail.com>2015-06-19 10:48:46 +0300
commitaa9008e76d3bd45885b06061fff1579b01870715 (patch)
tree2bca7c21fd38823a70ea6a724bc809d4290fcdc4
parentcf8be3a22fbf75fdeac91a7615b0a608791d8811 (diff)
downloadmeson-aa9008e76d3bd45885b06061fff1579b01870715.zip
meson-aa9008e76d3bd45885b06061fff1579b01870715.tar.gz
meson-aa9008e76d3bd45885b06061fff1579b01870715.tar.bz2
ninjabackend: fix bad-continuation
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
-rw-r--r--ninjabackend.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/ninjabackend.py b/ninjabackend.py
index 14feb3f..34f6b18 100644
--- a/ninjabackend.py
+++ b/ninjabackend.py
@@ -643,8 +643,7 @@ class NinjaBackend(backends.Backend):
rel_src = src.rel_to_builddir(self.build_to_src)
plain_class_path = src.fname[:-4] + 'class'
rel_obj = os.path.join(self.get_target_private_dir(target), plain_class_path)
- element = NinjaBuildElement(rel_obj,
- compiler.get_language() + '_COMPILER', rel_src)
+ element = NinjaBuildElement(rel_obj, compiler.get_language() + '_COMPILER', rel_src)
element.add_item('ARGS', args)
element.write(outfile)
return plain_class_path
@@ -772,7 +771,7 @@ class NinjaBackend(backends.Backend):
rule = 'rule STATIC%s_LINKER\n' % crstr
command = ' command = %s $LINK_ARGS %s $in\n' % \
(' '.join(static_linker.get_exelist()),
- ' '.join(static_linker.get_output_args('$out')))
+ ' '.join(static_linker.get_output_args('$out')))
description = ' description = Static linking library $out\n\n'
outfile.write(rule)
outfile.write(command)