Fix MinGW cross-build

This commit is contained in:
bruvzg 2018-03-15 17:29:55 +02:00
parent 6f8b79ea5f
commit e337eecd17
No known key found for this signature in database
GPG Key ID: 89DD917D9CE4218D
1 changed files with 3 additions and 2 deletions

View File

@ -320,8 +320,9 @@ def configure(env):
print("Configuring for Windows: target=%s, bits=%s" % (env['target'], env['bits']))
env['ENV'] = os.environ # this makes build less repeatable, but simplifies some things
env['ENV']['TMP'] = os.environ['TMP']
if (os.name == "nt"):
env['ENV'] = os.environ # this makes build less repeatable, but simplifies some things
env['ENV']['TMP'] = os.environ['TMP']
# First figure out which compiler, version, and target arch we're using
if os.getenv("VCINSTALLDIR"):