diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-01-21 10:54:52 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-01-21 10:54:52 (GMT) |
commit | 1ab29b2d3c03886da51af55eb05113d6e4de6b41 (patch) | |
tree | 0383d1c0c9373ba0926aa54953533b3981614931 | |
parent | 6512dbd5be12330bc39a37df8e2bf76e3bd0b1e0 (diff) | |
download | cpython-1ab29b2d3c03886da51af55eb05113d6e4de6b41.zip cpython-1ab29b2d3c03886da51af55eb05113d6e4de6b41.tar.gz cpython-1ab29b2d3c03886da51af55eb05113d6e4de6b41.tar.bz2 |
Check for None to decide when pyexpat should not be built.
-rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -405,7 +405,7 @@ class PyBuildExt(build_ext): else: expat_incs = find_file('xmlparse.h', inc_dirs, []) - if (expat_incs and + if (expat_incs is not None and self.compiler.find_library_file(lib_dirs, 'expat')): exts.append( Extension('pyexpat', ['pyexpat.c'], define_macros = expat_defs, |