diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-04-19 23:59:06 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-04-19 23:59:06 +0300 |
commit | 7b8d24a9d8d2c78c434f0f8ef6b208c0a5dc756a (patch) | |
tree | 580145468699236e0400776df2a7908bfe680a78 /build.py | |
parent | 7e3f2f7771b3fa0abb7a86fb8df78f41ff226d39 (diff) | |
download | meson-7b8d24a9d8d2c78c434f0f8ef6b208c0a5dc756a.zip meson-7b8d24a9d8d2c78c434f0f8ef6b208c0a5dc756a.tar.gz meson-7b8d24a9d8d2c78c434f0f8ef6b208c0a5dc756a.tar.bz2 |
Can use msvc static linker.
Diffstat (limited to 'build.py')
-rw-r--r-- | build.py | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |