mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
add depends = ['md5.h'] to the _md5 module extension for correctness sake.
This commit is contained in:
parent
c169e9f19c
commit
d792392db4
1 changed files with 3 additions and 1 deletions
4
setup.py
4
setup.py
|
@ -582,7 +582,9 @@ class PyBuildExt(build_ext):
|
|||
# The _md5 module implements the RSA Data Security, Inc. MD5
|
||||
# Message-Digest Algorithm, described in RFC 1321. The
|
||||
# necessary files md5.c and md5.h are included here.
|
||||
exts.append( Extension('_md5', ['md5module.c', 'md5.c']) )
|
||||
exts.append( Extension('_md5',
|
||||
sources = ['md5module.c', 'md5.c'],
|
||||
depends = ['md5.h']) )
|
||||
|
||||
if (openssl_ver < 0x00908000):
|
||||
# OpenSSL doesn't do these until 0.9.8 so we'll bring our own hash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue