mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
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.
This commit is contained in:
parent
a39c47aab0
commit
868f0aac37
4 changed files with 11 additions and 26 deletions
5
setup.py
5
setup.py
|
@ -777,8 +777,9 @@ class PyBuildExt(build_ext):
|
|||
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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue