File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 5
5
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
6
6
# Portions Copyright (c) 1994, Regents of the University of California
7
7
#
8
- # $PostgreSQL: pgsql/src/bin/pg_dump/Makefile,v 1.57 2004/10/07 13:45:48 momjian Exp $
8
+ # $PostgreSQL: pgsql/src/bin/pg_dump/Makefile,v 1.58 2004/11/08 05:23:23 momjian Exp $
9
9
#
10
10
# -------------------------------------------------------------------------
11
11
@@ -22,12 +22,6 @@ OBJS= pg_backup_archiver.o pg_backup_db.o pg_backup_custom.o \
22
22
23
23
EXTRA_OBJS = $(top_builddir ) /src/backend/parser/keywords.o
24
24
25
- # Not sure why MinGW needs this but it prevents a link failure
26
- # of duplicate definitions for pg_tolower(). 2004-10-06
27
- ifeq ($(PORTNAME ) , win32)
28
- EXTRA_OBJS += $(top_builddir ) /src/port/exec.o
29
- endif
30
-
31
25
all : submake-libpq submake-libpgport submake-backend pg_dump pg_restore pg_dumpall
32
26
33
27
pg_dump : pg_dump.o common.o pg_dump_sort.o $(OBJS ) $(libpq_builddir ) /libpq.a
Original file line number Diff line number Diff line change 1
1
SRCH_LIB="/usr/local/lib"
2
+
3
+ # This is required to link pg_dump because it finds pg_toupper() in
4
+ # libpq and pgport
5
+ LDFLAGS="-Wl,--allow-multiple-definition"
6
+
Original file line number Diff line number Diff line change
1
+ # This is required to link pg_dump because it finds pg_toupper() in
2
+ # libpq and pgport
3
+ LDFLAGS="-Wl,--allow-multiple-definition"
4
+
You can’t perform that action at this time.
0 commit comments