]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Another fix for:
authorMichael W. Hudson <mwh@python.net>
Sat, 3 Aug 2002 16:16:22 +0000 (16:16 +0000)
committerMichael W. Hudson <mwh@python.net>
Sat, 3 Aug 2002 16:16:22 +0000 (16:16 +0000)
[ 589427 ] standard include paths on command line

_ssl still got /usr/include on the command line.

setup.py

index c67f724a9b26b09eb64777023d1aabdd5b29d949..6997029267d526bb899870335c4312e86a1616c9 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -397,7 +397,7 @@ class PyBuildExt(build_ext):
         exts.append( Extension('_socket', ['socketmodule.c'],
                                depends = ['socketmodule.h']) )
         # Detect SSL support for the socket module (via _ssl)
-        ssl_incs = find_file('openssl/ssl.h', inc_dirs,
+        ssl_incs = find_file('openssl/ssl.h', self.compiler.include_dirs,
                              ['/usr/local/ssl/include',
                               '/usr/contrib/ssl/include/'
                              ]