windows use_mingw build fix
parent
3ee07f652b
commit
e8488656e5
|
@ -215,6 +215,9 @@ elif env['platform'] == 'windows':
|
||||||
env['AR'] = "i686-w64-mingw32-ar"
|
env['AR'] = "i686-w64-mingw32-ar"
|
||||||
env['RANLIB'] = "i686-w64-mingw32-ranlib"
|
env['RANLIB'] = "i686-w64-mingw32-ranlib"
|
||||||
env['LINK'] = "i686-w64-mingw32-g++"
|
env['LINK'] = "i686-w64-mingw32-g++"
|
||||||
|
elif host_platform == 'windows' and env['use_mingw']:
|
||||||
|
env = env.Clone(tools=['mingw'])
|
||||||
|
env["SPAWN"] = mySpawn
|
||||||
|
|
||||||
# Native or cross-compilation using MinGW
|
# Native or cross-compilation using MinGW
|
||||||
if host_platform == 'linux' or host_platform == 'osx' or env['use_mingw']:
|
if host_platform == 'linux' or host_platform == 'osx' or env['use_mingw']:
|
||||||
|
|
Loading…
Reference in New Issue