Kaydet (Commit) d792392d authored tarafından Gregory P. Smith's avatar Gregory P. Smith

add depends = ['md5.h'] to the _md5 module extension for correctness sake.

üst c169e9f1
...@@ -582,7 +582,9 @@ class PyBuildExt(build_ext): ...@@ -582,7 +582,9 @@ class PyBuildExt(build_ext):
# The _md5 module implements the RSA Data Security, Inc. MD5 # The _md5 module implements the RSA Data Security, Inc. MD5
# Message-Digest Algorithm, described in RFC 1321. The # Message-Digest Algorithm, described in RFC 1321. The
# necessary files md5.c and md5.h are included here. # 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): if (openssl_ver < 0x00908000):
# OpenSSL doesn't do these until 0.9.8 so we'll bring our own hash # OpenSSL doesn't do these until 0.9.8 so we'll bring our own hash
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment