mirror of
https://github.com/python/cpython.git
synced 2025-10-01 12:52:18 +00:00
Closes #27407: Merge with 3.5
This commit is contained in:
commit
1c2400cfdc
1 changed files with 6 additions and 1 deletions
|
@ -18,6 +18,8 @@
|
||||||
# it should configure OpenSSL such that it is ready to be built by
|
# it should configure OpenSSL such that it is ready to be built by
|
||||||
# ssl.vcxproj on 32 or 64 bit platforms.
|
# ssl.vcxproj on 32 or 64 bit platforms.
|
||||||
|
|
||||||
|
from __future__ import print_function
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
@ -89,7 +91,10 @@ def create_asms(makefile, tmp_d):
|
||||||
|
|
||||||
def copy_includes(makefile, suffix):
|
def copy_includes(makefile, suffix):
|
||||||
dir = 'include'+suffix+'\\openssl'
|
dir = 'include'+suffix+'\\openssl'
|
||||||
os.makedirs(dir, exist_ok=True)
|
try:
|
||||||
|
os.makedirs(dir)
|
||||||
|
except OSError:
|
||||||
|
pass
|
||||||
copy_if_different = r'$(PERL) $(SRC_D)\util\copy-if-different.pl'
|
copy_if_different = r'$(PERL) $(SRC_D)\util\copy-if-different.pl'
|
||||||
with open(makefile) as fin:
|
with open(makefile) as fin:
|
||||||
for line in fin:
|
for line in fin:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue