diff options
author | Hannes Rantzsch <[email protected]> | 2020-12-01 09:49:41 +0100 |
---|---|---|
committer | Hannes Rantzsch <[email protected]> | 2020-12-01 12:26:48 +0100 |
commit | 696b16bd5daea514de286fdf6966955cbb13aa14 (patch) | |
tree | 89f33c7e696e62a5b70708077abd497889fb171e /configure.py | |
parent | e95d2bb517a109ba58ed74a144116b340fccc2a6 (diff) |
apply python path fix only on mingw
otherwise visual studio 2015 will be confused
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py index 0808a0358..e8ed0a24a 100755 --- a/configure.py +++ b/configure.py @@ -1994,7 +1994,7 @@ def create_template_vars(source_paths, build_paths, options, modules, cc, arch, def choose_python_exe(): exe = sys.executable - if exe[1] == ':': # Windows style paths + if options.os == 'mingw': # mingw doesn't handle the backslashes in the absolute path well return exe.replace('\\', '/') return exe |