Kaydet (Commit) 8d92ee88 authored tarafından Barry Warsaw's avatar Barry Warsaw

Add "runtime_library_dirs = ssl_libs" to the _socket Extension

specification so that the proper runtime ld.so path gets compiled into
the extension.  This fixes _socket for Solaris systems with libssl and
libcrypto in non-standard locations and should be fine for other
systems as well.  Closes SF bug #565710.

Forward port candidate for Python 2.3 (I'll work on that).
üst 036f6a80
......@@ -364,6 +364,7 @@ class PyBuildExt(build_ext):
exts.append( Extension('_socket', ['socketmodule.c'],
include_dirs = ssl_incs,
library_dirs = ssl_libs,
runtime_library_dirs = ssl_libs,
libraries = ['ssl', 'crypto'],
define_macros = [('USE_SSL',1)] ) )
else:
......
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