Make the platform responsible to create the buildenv.

It is now the platform who is responsible to:
- correctly add the toolchains as needed
- setup the cross environment
- create the cross files.
This commit is contained in:
Matthieu Gautier
2018-05-28 14:18:51 +02:00
parent 115fbfa147
commit 754df8df1d
29 changed files with 407 additions and 394 deletions

View File

@ -15,6 +15,6 @@ class KiwixTools(Dependency):
@property
def configure_option(self):
if self.buildEnv.platform_info.static:
if self.buildEnv.platformInfo.static:
return "-Dstatic-linkage=true"
return ""