aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbackends.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends.py b/backends.py
index ec71ffd..ec2ebd1 100755
--- a/backends.py
+++ b/backends.py
@@ -508,7 +508,7 @@ class NinjaBackend(Backend):
scriptdir = self.environment.get_script_dir()
outfile.write('\n')
symrule = 'rule SHSYM\n'
- symcmd = ' command = %s %s %s %s\n' % (ninja_quote(sys.executable),
+ symcmd = ' command = "%s" "%s" "%s" "%s"\n' % (ninja_quote(sys.executable),
ninja_quote(os.path.join(scriptdir, 'symbolextractor.py')),
'$in', '$out')
synstat = ' restat = 1\n'