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.
This commit is contained in:
Zachary Ware 2015-04-07 20:38:53 -05:00
parent ced1174525
commit f975b3d499
1 changed files with 3 additions and 0 deletions

View File

@ -132,6 +132,9 @@ def fix_makefile(makefile):
if noalgo not in line:
line = line + noalgo
line = line + '\n'
if r'$(SRC_D)\util\copy-if-different.pl' in line:
line = line.replace(r'$(SRC_D)\util\copy-if-different.pl',
'copy /Y')
fout.write(line)
def run_configure(configure, do_script):