summaryrefslogtreecommitdiffstats
path: root/PCbuild/build_ssl.py
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2010-09-19 10:00:19 (GMT)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2010-09-19 10:00:19 (GMT)
commit25278efac745ce4a50e737484fbdd3d09307504c (patch)
treeb2f2c29bca5974c9a530c2aa0eafc01dc810f3af /PCbuild/build_ssl.py
parent0dd078a7369d9bf94b0ba18785321dd4887e3a93 (diff)
downloadcpython-25278efac745ce4a50e737484fbdd3d09307504c.zip
cpython-25278efac745ce4a50e737484fbdd3d09307504c.tar.gz
cpython-25278efac745ce4a50e737484fbdd3d09307504c.tar.bz2
Recorded merge of revisions 84902 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84902 | hirokazu.yamamoto | 2010-09-19 18:24:20 +0900 | 1 line Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows) ........
Diffstat (limited to 'PCbuild/build_ssl.py')
-rw-r--r--PCbuild/build_ssl.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/PCbuild/build_ssl.py b/PCbuild/build_ssl.py
index 7fbacaf..42c0017 100644
--- a/PCbuild/build_ssl.py
+++ b/PCbuild/build_ssl.py
@@ -226,8 +226,8 @@ def main():
if arch == "amd64":
create_makefile64(makefile, m32)
fix_makefile(makefile)
- shutil.copy(r"crypto\buildinf.h", r"crypto\buildinf_%s.h" % arch)
- shutil.copy(r"crypto\opensslconf.h", r"crypto\opensslconf_%s.h" % arch)
+ shutil.copy2(r"crypto\buildinf.h", r"crypto\buildinf_%s.h" % arch)
+ shutil.copy2(r"crypto\opensslconf.h", r"crypto\opensslconf_%s.h" % arch)
# Now run make.
if arch == "amd64":
@@ -236,8 +236,8 @@ def main():
print("ml64 assembler has failed.")
sys.exit(rc)
- shutil.copy(r"crypto\buildinf_%s.h" % arch, r"crypto\buildinf.h")
- shutil.copy(r"crypto\opensslconf_%s.h" % arch, r"crypto\opensslconf.h")
+ shutil.copy2(r"crypto\buildinf_%s.h" % arch, r"crypto\buildinf.h")
+ shutil.copy2(r"crypto\opensslconf_%s.h" % arch, r"crypto\opensslconf.h")
#makeCommand = "nmake /nologo PERL=\"%s\" -f \"%s\"" %(perl, makefile)
makeCommand = "nmake /nologo -f \"%s\"" % makefile