From 7b8d24a9d8d2c78c434f0f8ef6b208c0a5dc756a Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Fri, 19 Apr 2013 23:59:06 +0300 Subject: Can use msvc static linker. --- build.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'build.py') diff --git a/build.py b/build.py index 25e2389a0..59a694e40 100644 --- a/build.py +++ b/build.py @@ -29,9 +29,14 @@ class Build: self.headers = [] self.man = [] self.data = [] - self.static_linker = self.environment.detect_static_linker() + self.static_linker = None self.configure_files = [] + def add_compiler(self, compiler): + if len(self.compilers) == 0: + self.static_linker = self.environment.detect_static_linker(compiler) + self.compilers.append(compiler) + def get_project(self): return self.project -- cgit v1.2.3