mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Fixed a newline problem
This commit is contained in:
parent
e670bd4f63
commit
e39439e3c1
1 changed files with 2 additions and 0 deletions
|
|
@ -132,10 +132,12 @@ def fix_makefile(makefile):
|
||||||
if line.startswith("MKDIR="):
|
if line.startswith("MKDIR="):
|
||||||
line = "MKDIR=mkdir\n"
|
line = "MKDIR=mkdir\n"
|
||||||
if line.startswith("CFLAG="):
|
if line.startswith("CFLAG="):
|
||||||
|
line = line.strip()
|
||||||
for algo in ("RC5", "MDC2", "IDEA"):
|
for algo in ("RC5", "MDC2", "IDEA"):
|
||||||
noalgo = " -DOPENSSL_NO_%s" % algo
|
noalgo = " -DOPENSSL_NO_%s" % algo
|
||||||
if noalgo not in line:
|
if noalgo not in line:
|
||||||
line = line + noalgo
|
line = line + noalgo
|
||||||
|
line = line + '\n'
|
||||||
fout.write(line)
|
fout.write(line)
|
||||||
|
|
||||||
def run_configure(configure, do_script):
|
def run_configure(configure, do_script):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue