aboutsummaryrefslogtreecommitdiff
path: root/backends.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-03-10 23:33:24 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2014-03-10 23:33:24 +0200
commit3dadcbc9a73ab9c07ecc8bfd513d6e5ef791dd00 (patch)
treea87e6d34147c71490515e5f8926e040df6044ae5 /backends.py
parent11f21062280cb5267a3a9c4054a62ff5a2898101 (diff)
downloadmeson-3dadcbc9a73ab9c07ecc8bfd513d6e5ef791dd00.zip
meson-3dadcbc9a73ab9c07ecc8bfd513d6e5ef791dd00.tar.gz
meson-3dadcbc9a73ab9c07ecc8bfd513d6e5ef791dd00.tar.bz2
Can create jar objects.
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()),