aboutsummaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-08-30 23:07:26 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2013-08-30 23:07:26 +0300
commit1571bfc6a9462fc4f5f0e8f13c470de2ec3ae1a3 (patch)
tree05fa7f49505c8ac74b916001e82e47d93398fb2b /build.py
parent29174b669faf684e789e3fe817787e48a7621dd3 (diff)
downloadmeson-1571bfc6a9462fc4f5f0e8f13c470de2ec3ae1a3.zip
meson-1571bfc6a9462fc4f5f0e8f13c470de2ec3ae1a3.tar.gz
meson-1571bfc6a9462fc4f5f0e8f13c470de2ec3ae1a3.tar.bz2
Static cross linking works again.
Diffstat (limited to 'build.py')
-rw-r--r--build.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/build.py b/build.py
index 0b5a940..17d912b 100644
--- a/build.py
+++ b/build.py
@@ -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):