diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2012-04-28 12:45:55 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2012-04-28 12:45:55 +0400 |
commit | 5d70a6aedfa246e6a6ac137cdc2be088950b7875 (patch) | |
tree | b2eab6a912bd28917fe1488c2884a4e6e8c03bd9 /build_files/scons/tools | |
parent | 3cceab304aaee5e5f11f224b39960f0c58f68727 (diff) |
Add MingW as "platform"
Diffstat (limited to 'build_files/scons/tools')
-rw-r--r-- | build_files/scons/tools/btools.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/build_files/scons/tools/btools.py b/build_files/scons/tools/btools.py index efc80fcd3c5..c9d31d75e18 100644 --- a/build_files/scons/tools/btools.py +++ b/build_files/scons/tools/btools.py @@ -622,7 +622,13 @@ def buildslave(target=None, source=None, env=None): else: extension = '.tar.bz2' - platform = env['OURPLATFORM'].split('-')[0] + if env['OURPLATFORM'] == 'win32-mingw': + platform = 'mingw32' + elif env['OURPLATFORM'] == 'win32-mingw': + platform = 'mingw64' + else: + platform = env['OURPLATFORM'].split('-')[0] + if platform == 'linux': import platform |