summaryrefslogtreecommitdiff
path: root/PC/VS8.0
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2010-09-19 09:24:20 +0000
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2010-09-19 09:24:20 +0000
commit790dfe3622cccd6ac8092f5ac9776f9fbb02a631 (patch)
tree06448b6befe8a5374949bcada6dbc63b336b9efa /PC/VS8.0
parenta5ddfdc907646a5d2adf549eca2dd640f9fc0de8 (diff)
downloadcpython-790dfe3622cccd6ac8092f5ac9776f9fbb02a631.tar.gz
Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows)
Diffstat (limited to 'PC/VS8.0')
-rw-r--r--PC/VS8.0/build_ssl.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/PC/VS8.0/build_ssl.py b/PC/VS8.0/build_ssl.py
index 867fd4c4a3..cb497678fb 100644
--- a/PC/VS8.0/build_ssl.py
+++ b/PC/VS8.0/build_ssl.py
@@ -220,8 +220,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":
@@ -230,8 +230,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