summaryrefslogtreecommitdiffstats
path: root/PC/VC6/build_ssl.py
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2010-09-19 09:24:20 (GMT)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2010-09-19 09:24:20 (GMT)
commitba45c2b6a70745a8d19cefaf6fb4e5e7d4b8e1e0 (patch)
treef62322b081b1701726057daf0aaba7ce865f34fd /PC/VC6/build_ssl.py
parent490014ba4d3422fdfd4dba5fe0b85cd820a12c80 (diff)
downloadcpython-ba45c2b6a70745a8d19cefaf6fb4e5e7d4b8e1e0.zip
cpython-ba45c2b6a70745a8d19cefaf6fb4e5e7d4b8e1e0.tar.gz
cpython-ba45c2b6a70745a8d19cefaf6fb4e5e7d4b8e1e0.tar.bz2
Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows)
Diffstat (limited to 'PC/VC6/build_ssl.py')
-rw-r--r--PC/VC6/build_ssl.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/PC/VC6/build_ssl.py b/PC/VC6/build_ssl.py
index 51f34b6..f2adab1 100644
--- a/PC/VC6/build_ssl.py
+++ b/PC/VC6/build_ssl.py
@@ -173,12 +173,12 @@ def main():
# os.system("perl util\mk1mf.pl debug "+configure+" >"+makefile)
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.
- 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