@@ -698,7 +698,7 @@ def check_extension_import(self, ext):
698
698
def add_multiarch_paths (self ):
699
699
# Debian/Ubuntu multiarch support.
700
700
# https://wiki.ubuntu.com/MultiarchSpec
701
- tmpfile = os .path .join (self .build_temp , 'multiarch' )
701
+ tmpfile = os .path .join (self .build_temp , 'multiarch' ). replace ( ' \\ ' , '/' )
702
702
if not os .path .exists (self .build_temp ):
703
703
os .makedirs (self .build_temp )
704
704
ret = run_command (
@@ -723,7 +723,7 @@ def add_multiarch_paths(self):
723
723
opt = ''
724
724
if CROSS_COMPILING :
725
725
opt = '-t' + sysconfig .get_config_var ('HOST_GNU_TYPE' )
726
- tmpfile = os .path .join (self .build_temp , 'multiarch' )
726
+ tmpfile = os .path .join (self .build_temp , 'multiarch' ). replace ( ' \\ ' , '/' )
727
727
if not os .path .exists (self .build_temp ):
728
728
os .makedirs (self .build_temp )
729
729
ret = run_command (
@@ -785,7 +785,7 @@ def add_search_path(line):
785
785
pass
786
786
787
787
def add_cross_compiling_paths (self ):
788
- tmpfile = os .path .join (self .build_temp , 'ccpaths' )
788
+ tmpfile = os .path .join (self .build_temp , 'ccpaths' ). replace ( ' \\ ' , '/' )
789
789
if not os .path .exists (self .build_temp ):
790
790
os .makedirs (self .build_temp )
791
791
# bpo-38472: With a German locale, GCC returns "gcc-Version 9.1.0
@@ -1053,7 +1053,7 @@ def detect_readline_curses(self):
1053
1053
readline_termcap_library = ""
1054
1054
curses_library = ""
1055
1055
# Cannot use os.popen here in py3k.
1056
- tmpfile = os .path .join (self .build_temp , 'readline_termcap_lib' )
1056
+ tmpfile = os .path .join (self .build_temp , 'readline_termcap_lib' ). replace ( ' \\ ' , '/' )
1057
1057
if not os .path .exists (self .build_temp ):
1058
1058
os .makedirs (self .build_temp )
1059
1059
# Determine if readline is already linked against curses or tinfo.
0 commit comments