Merge pull request #17536 from bruvzg/fix_mingw_build
Fix MinGW cross-build
This commit is contained in:
commit
a8147d0f8b
@ -320,8 +320,9 @@ def configure(env):
|
|||||||
|
|
||||||
print("Configuring for Windows: target=%s, bits=%s" % (env['target'], env['bits']))
|
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
|
if (os.name == "nt"):
|
||||||
env['ENV']['TMP'] = os.environ['TMP']
|
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
|
# First figure out which compiler, version, and target arch we're using
|
||||||
if os.getenv("VCINSTALLDIR"):
|
if os.getenv("VCINSTALLDIR"):
|
||||||
|
Loading…
Reference in New Issue
Block a user