diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2014-06-18 01:22:55 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2014-06-18 01:22:55 +0300 |
commit | f22376701bdebbda70b8d521a2da8f5376e6fdaa (patch) | |
tree | 6e7f995e9953853364fe0f70cc61e9aed29a8a19 /build.py | |
parent | 5fee2dd325680ca8ca4fa5727259ef17cdb859e9 (diff) | |
download | meson-f22376701bdebbda70b8d521a2da8f5376e6fdaa.zip meson-f22376701bdebbda70b8d521a2da8f5376e6fdaa.tar.gz meson-f22376701bdebbda70b8d521a2da8f5376e6fdaa.tar.bz2 |
Can compile very basic Rust programs.
Diffstat (limited to 'build.py')
-rw-r--r-- | build.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -51,9 +51,7 @@ class Build: return False def add_compiler(self, compiler): - lang = compiler.get_language() - if self.static_linker is None and lang != 'java'\ - and lang != 'vala': + if self.static_linker is None and compiler.needs_static_linker(): self.static_linker = self.environment.detect_static_linker(compiler) if self.has_language(compiler.get_language()): return |