diff options
author | Guido van Rossum <guido@python.org> | 2002-06-13 14:41:32 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-06-13 14:41:32 (GMT) |
commit | 47d3a7afdaf52887d1bbd1a8cbcd717893c6d480 (patch) | |
tree | 4502c48f11f31a3db5f7dbc7777a1816388df5e0 /setup.py | |
parent | 74a3bec592c53078226818e0d732f9f81cfb5d7f (diff) | |
download | cpython-47d3a7afdaf52887d1bbd1a8cbcd717893c6d480.zip cpython-47d3a7afdaf52887d1bbd1a8cbcd717893c6d480.tar.gz cpython-47d3a7afdaf52887d1bbd1a8cbcd717893c6d480.tar.bz2 |
Add dependencies on socketmodule.h.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -271,6 +271,8 @@ class PyBuildExt(build_ext): exts.append( Extension('_weakref', ['_weakref.c']) ) exts.append( Extension('xreadlines', ['xreadlinesmodule.c']) ) + exts.append( Extension("bits", ["bits.c"]) ) + # array objects exts.append( Extension('array', ['arraymodule.c']) ) # complex math library functions @@ -385,7 +387,8 @@ class PyBuildExt(build_ext): exts.append( Extension('crypt', ['cryptmodule.c'], libraries=libs) ) # socket(2) - exts.append( Extension('_socket', ['socketmodule.c']) ) + exts.append( Extension('_socket', ['socketmodule.c'], + depends = ['Modules/socketmodule.h']) ) # Detect SSL support for the socket module (via _ssl) ssl_incs = find_file('openssl/ssl.h', inc_dirs, ['/usr/local/ssl/include', @@ -402,7 +405,8 @@ class PyBuildExt(build_ext): exts.append( Extension('_ssl', ['_ssl.c'], include_dirs = ssl_incs, library_dirs = ssl_libs, - libraries = ['ssl', 'crypto']) ) + libraries = ['ssl', 'crypto'], + depends = ['Modules/socketmodule.h']), ) # Modules that provide persistent dictionary-like semantics. You will # probably want to arrange for at least one of them to be available on |