--- newmakefile.orig Tue May 29 17:25:20 2001 +++ newmakefile Tue May 29 22:13:17 2001 @@ -2,7 +2,7 @@ subdir = src/interfaces/python top_builddir = ../../.. include $(top_builddir)/src/Makefile.global -NAME = pgmodule +NAME = _pgmodule SO_MAJOR_VERSION = 0 SO_MINOR_VERSION = 0 OBJS = pgmodule.o @@ -13,7 +13,7 @@ include $(top_srcdir)/src/Makefile.shlib override CFLAGS += $(CFLAGS_SL) # (Python also has a config.h file. Be sure to use ours.) override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS) -I$(python_includedir) -SHLIB_LINK = $(libpq) +SHLIB_LINK = $(libpq) $(python_libspec) all: all-lib