From 8d92ee88cbe0d91122aa378a6ee142fc3051bbfe Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Mon, 30 Sep 2002 14:42:29 +0000 Subject: [PATCH] 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). --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index fc8cfa9adbcf..2a44af17cc40 100644 --- a/setup.py +++ b/setup.py @@ -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: -- 2.47.3