Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2e8252d

Browse files
committed
Fix MinGW link failure with new libpgport processing.
1 parent 314cef0 commit 2e8252d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/bin/pg_dump/Makefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
66
# Portions Copyright (c) 1994, Regents of the University of California
77
#
8-
# $PostgreSQL: pgsql/src/bin/pg_dump/Makefile,v 1.54 2004/10/04 18:05:54 momjian Exp $
8+
# $PostgreSQL: pgsql/src/bin/pg_dump/Makefile,v 1.55 2004/10/04 20:32:58 momjian Exp $
99
#
1010
#-------------------------------------------------------------------------
1111

@@ -21,6 +21,10 @@ OBJS= pg_backup_archiver.o pg_backup_db.o pg_backup_custom.o \
2121

2222
EXTRA_OBJS = $(top_builddir)/src/backend/parser/keywords.o
2323

24+
# not sure why MinGW needs this but it prevents a link failure
25+
ifeq ($(PORTNAME), win32)
26+
EXTRA_OBJS += $(top_builddir)/src/port/exec.o
27+
endif
2428

2529
all: submake-libpq submake-libpgport submake-backend pg_dump pg_restore pg_dumpall
2630

0 commit comments

Comments
 (0)