From 4f7f77b7a5b6a51a126e5d96355477ab0ce58aa0 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Sun, 7 Dec 2008 02:16:00 +0000 Subject: [PATCH] muffed the default case --- setup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index e7d3ad3ba5..a7fe3e4c33 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, -- 2.50.1