Mercurial > cpython-lru_cache-weakref
diff setup.py @ 82776:0f5e1e642dc3 2.7
issue #9090 : Take the same approach for socketmodule as daytimemodule
when it needs support from timemodule (which is a .so on linux):
link in timemodule.c for the required functions.
| author | Kristján Valur Jónsson <sweskman@gmail.com> |
|---|---|
| date | Tue, 19 Mar 2013 13:53:56 -0700 |
| parents | 8b177aea9ddd |
| children | 83fd64c97296 |
line wrap: on
line diff
--- a/setup.py Tue Mar 19 16:26:53 2013 -0400 +++ b/setup.py Tue Mar 19 13:53:56 2013 -0700 @@ -777,8 +777,9 @@ exts.append( Extension('_csv', ['_csv.c']) ) # socket(2) - exts.append( Extension('_socket', ['socketmodule.c'], - depends = ['socketmodule.h']) ) + exts.append( Extension('_socket', ['socketmodule.c', 'timemodule.c'], + depends=['socketmodule.h'], + libraries=math_libs) ) # Detect SSL support for the socket module (via _ssl) search_for_ssl_incs_in = [ '/usr/local/ssl/include',
