Kaydet (Commit) a950f7ff authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Only look for krb5.h if ssl.h was found.

Fixes bug reported in comment to #728322.
üst 8f0bd565
......@@ -447,10 +447,11 @@ class PyBuildExt(build_ext):
'/usr/contrib/ssl/include/'
]
)
krb5_h = find_file('krb5.h', inc_dirs,
['/usr/kerberos/include'])
if krb5_h:
ssl_incs += krb5_h
if ssl_incs is not None:
krb5_h = find_file('krb5.h', inc_dirs,
['/usr/kerberos/include'])
if krb5_h:
ssl_incs += krb5_h
ssl_libs = find_library_file(self.compiler, 'ssl',lib_dirs,
['/usr/local/ssl/lib',
'/usr/contrib/ssl/lib/'
......
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