aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2020-12-01 18:53:47 -0500
committerJack Lloyd <[email protected]>2020-12-01 18:53:47 -0500
commit63d51cb1ab08849d8ece329811b61f8c9abebbcf (patch)
treedf89d31abad1e0d5cf3c0bf3f956c9e1d48b2d69 /configure.py
parent3a275685a7d2df96266a453818625393b8018210 (diff)
parentc9792d42877bc4d2a3b879c6249dcb0d2424e12d (diff)
Merge GH #2350 Add a test that install target does something
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index b18c6390e..3688b153e 100755
--- a/configure.py
+++ b/configure.py
@@ -2001,7 +2001,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