Skip to content

Commit f975b3d

Browse files
committed
Fix prepare_ssl.py for OpenSSL 1.0.2a builds without Perl (using old system).
This change affects the makefiles checked into svn.python.org, which the 3.5 build no longer uses. 3.4 and 2.7 both still use those makefiles, but their build_ssl.py scripts don't require an update; if the script is running the 'fix_makefiles' method it already has Perl available anyway.
1 parent ced1174 commit f975b3d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

PCbuild/prepare_ssl.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ def fix_makefile(makefile):
132132
if noalgo not in line:
133133
line = line + noalgo
134134
line = line + '\n'
135+
if r'$(SRC_D)\util\copy-if-different.pl' in line:
136+
line = line.replace(r'$(SRC_D)\util\copy-if-different.pl',
137+
'copy /Y')
135138
fout.write(line)
136139

137140
def run_configure(configure, do_script):

0 commit comments

Comments
 (0)