aboutsummaryrefslogtreecommitdiff
path: root/backends.py
diff options
context:
space:
mode:
Diffstat (limited to 'backends.py')
-rw-r--r--backends.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends.py b/backends.py
index 4692a46..03be9a5 100644
--- a/backends.py
+++ b/backends.py
@@ -715,6 +715,8 @@ class NinjaBackend(Backend):
else:
static_linker = self.build.static_linker
crstr = ''
+ if static_linker is None:
+ return
rule = 'rule STATIC%s_LINKER\n' % crstr
command = ' command = %s $LINK_FLAGS %s $in\n' % \
(' '.join(static_linker.get_exelist()),