aboutsummaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-03-10 22:49:29 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2014-03-10 22:49:29 +0200
commit11f21062280cb5267a3a9c4054a62ff5a2898101 (patch)
treeb418dcb2ce70287617bdecdfe40eee7aec75a24d /build.py
parente321345f41d554a52d055f14f79992bac46161b3 (diff)
downloadmeson-11f21062280cb5267a3a9c4054a62ff5a2898101.zip
meson-11f21062280cb5267a3a9c4054a62ff5a2898101.tar.gz
meson-11f21062280cb5267a3a9c4054a62ff5a2898101.tar.bz2
Now can detect Java compiler.
Diffstat (limited to 'build.py')
-rw-r--r--build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.py b/build.py
index d56fa42..991938d 100644
--- a/build.py
+++ b/build.py
@@ -50,7 +50,7 @@ class Build:
return False
def add_compiler(self, compiler):
- if len(self.compilers) == 0:
+ if self.static_linker is None and compiler.get_language() != 'java':
self.static_linker = self.environment.detect_static_linker(compiler)
if self.has_language(compiler.get_language()):
return