mirror of
https://github.com/python/cpython.git
synced 2025-11-19 10:46:17 +00:00
Implemented request from Marc-Andre Lemburg
For license reasons Python must not ship with IDEA, RC5 and MDC2. The latter are disabled by default but IDEA is enabled by default.
This commit is contained in:
parent
62a8ee1a4a
commit
0eb21022f2
1 changed files with 5 additions and 0 deletions
|
|
@ -131,6 +131,11 @@ def fix_makefile(makefile):
|
|||
line = "CP=copy\n"
|
||||
if line.startswith("MKDIR="):
|
||||
line = "MKDIR=mkdir\n"
|
||||
if line.startswith("CFLAG="):
|
||||
for algo in ("RC5", "MDC2", "IDEA"):
|
||||
noalgo = " -DOPENSSL_NO_%s" % algo
|
||||
if noalgo not in line:
|
||||
line = line + noalgo
|
||||
fout.write(line)
|
||||
|
||||
def run_configure(configure, do_script):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue