diff setup.py @ 38617:f00518bb5b43 legacy-trunk

add depends = ['md5.h'] to the _md5 module extension for correctness sake.
author Gregory P. Smith <greg@mad-scientist.com>
date Mon, 05 Jun 2006 23:38:06 +0000
parents 4722d37faa14
children 7c8990cccf9b
line wrap: on
line diff
--- a/setup.py	Mon Jun 05 20:49:27 2006 +0000
+++ b/setup.py	Mon Jun 05 23:38:06 2006 +0000
@@ -582,7 +582,9 @@
             # 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