From 1ab29b2d3c03886da51af55eb05113d6e4de6b41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 21 Jan 2001 10:54:52 +0000 Subject: Check for None to decide when pyexpat should not be built. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b18ee18..de9c5b9 100644 --- a/setup.py +++ b/setup.py @@ -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, -- cgit v0.12