From b9a80de8711d3f2fdbc01f740d1f2d27e72ed43c Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Sun, 7 Dec 2008 02:16:19 +0000 Subject: muffed the default case --- setup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index e7d3ad3..a7fe3e4 100644 --- a/setup.py +++ b/setup.py @@ -1033,9 +1033,8 @@ class PyBuildExt(build_ext): 'dbm', ['dbmmodule.c'], define_macros=[('HAVE_GDBM_DASH_NDBM_H',None)], libraries = gdbm_libs ) ) - exts.append( Extension('dbm', ['dbmmodule.c'], - define_macros=[('HAVE_GDBM_NDBM_H',None)], - libraries = ['gdbm'] ) ) + else: + missing.append('dbm') elif db_incs is not None: exts.append( Extension('dbm', ['dbmmodule.c'], library_dirs=dblib_dir, -- cgit v0.12