diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-08-30 23:07:26 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-08-30 23:07:26 +0300 |
commit | 1571bfc6a9462fc4f5f0e8f13c470de2ec3ae1a3 (patch) | |
tree | 05fa7f49505c8ac74b916001e82e47d93398fb2b /build.py | |
parent | 29174b669faf684e789e3fe817787e48a7621dd3 (diff) | |
download | meson-1571bfc6a9462fc4f5f0e8f13c470de2ec3ae1a3.zip meson-1571bfc6a9462fc4f5f0e8f13c470de2ec3ae1a3.tar.gz meson-1571bfc6a9462fc4f5f0e8f13c470de2ec3ae1a3.tar.bz2 |
Static cross linking works again.
Diffstat (limited to 'build.py')
-rw-r--r-- | build.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -29,6 +29,7 @@ class Build: self.man = [] self.data = [] self.static_linker = None + self.static_cross_linker = None self.configure_files = [] def add_compiler(self, compiler): @@ -37,8 +38,8 @@ class Build: self.compilers.append(compiler) def add_cross_compiler(self, compiler): - #if len(self.cross_compilers) == 0: - # self.static_linker = self.environment.detect_static_linker(compiler) + if len(self.cross_compilers) == 0: + self.static_cross_linker = self.environment.detect_static_linker(compiler) self.cross_compilers.append(compiler) def get_project(self): |