Index: src/bin/pg_dump/Makefile =================================================================== RCS file: /cvsroot/pgsql/src/bin/pg_dump/Makefile,v retrieving revision 1.57 diff -c -c -r1.57 Makefile *** src/bin/pg_dump/Makefile 7 Oct 2004 13:45:48 -0000 1.57 --- src/bin/pg_dump/Makefile 8 Nov 2004 04:56:52 -0000 *************** *** 22,33 **** EXTRA_OBJS = $(top_builddir)/src/backend/parser/keywords.o - # Not sure why MinGW needs this but it prevents a link failure - # of duplicate definitions for pg_tolower(). 2004-10-06 - ifeq ($(PORTNAME), win32) - EXTRA_OBJS += $(top_builddir)/src/port/exec.o - endif - all: submake-libpq submake-libpgport submake-backend pg_dump pg_restore pg_dumpall pg_dump: pg_dump.o common.o pg_dump_sort.o $(OBJS) $(libpq_builddir)/libpq.a --- 22,27 ---- Index: src/template/cygwin =================================================================== RCS file: /cvsroot/pgsql/src/template/cygwin,v retrieving revision 1.4 diff -c -c -r1.4 cygwin *** src/template/cygwin 9 Oct 2003 14:40:36 -0000 1.4 --- src/template/cygwin 8 Nov 2004 04:56:55 -0000 *************** *** 1 **** --- 1,5 ---- SRCH_LIB="/usr/local/lib" + # This is required to link pg_dump because it finds pg_toupper() in + # libpq and pgport + LDFLAGS="-Wl,--allow-multiple-definition" + Index: src/template/win32 =================================================================== RCS file: /cvsroot/pgsql/src/template/win32,v retrieving revision 1.2 diff -c -c -r1.2 win32 *** src/template/win32 9 Oct 2003 03:20:34 -0000 1.2 --- src/template/win32 8 Nov 2004 04:56:56 -0000 *************** *** 0 **** --- 1,4 ---- + # This is required to link pg_dump because it finds pg_toupper() in + # libpq and pgport + LDFLAGS="-Wl,--allow-multiple-definition" +