From f975b3d49976b1a5bd91dad16bd6ea6fe61d864a Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Tue, 7 Apr 2015 20:38:53 -0500 Subject: [PATCH] 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. --- PCbuild/prepare_ssl.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PCbuild/prepare_ssl.py b/PCbuild/prepare_ssl.py index 199c4efe254..16d77d9506a 100644 --- a/PCbuild/prepare_ssl.py +++ b/PCbuild/prepare_ssl.py @@ -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):