aboutsummaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
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