aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-03-25 18:18:41 +0000
committerBruce Momjian <bruce@momjian.us>2005-03-25 18:18:41 +0000
commit7751c06852224f98ea810b30725ad2b420ae3cd1 (patch)
treeab00118462013ab89f88b7a081f146c01f18253f /src/bin/scripts
parent42a00ef3b8b6294aaf637feed7b0cea628f8da65 (diff)
downloadpostgresql-7751c06852224f98ea810b30725ad2b420ae3cd1.tar.gz
postgresql-7751c06852224f98ea810b30725ad2b420ae3cd1.zip
Have libpgport link before libpq so that PG client applications are more
immunte to changes in libpq's usage of pgport between major versions. Backpatch to 8.0.X.
Diffstat (limited to 'src/bin/scripts')
-rw-r--r--src/bin/scripts/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/scripts/Makefile b/src/bin/scripts/Makefile
index 12de34ea389..269b9e3880d 100644
--- a/src/bin/scripts/Makefile
+++ b/src/bin/scripts/Makefile
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
-# $PostgreSQL: pgsql/src/bin/scripts/Makefile,v 1.32 2005/01/01 20:44:26 tgl Exp $
+# $PostgreSQL: pgsql/src/bin/scripts/Makefile,v 1.32.4.1 2005/03/25 18:18:41 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -21,7 +21,7 @@ override CPPFLAGS := -DFRONTEND -I$(top_srcdir)/src/bin/pg_dump -I$(top_srcdir)/
all: submake-libpq submake-backend $(PROGRAMS)
%: %.o $(WIN32RES)
- $(CC) $(CFLAGS) $^ $(libpq) $(LDFLAGS) $(LIBS) -o $@$(X)
+ $(CC) $(CFLAGS) $^ $(libpq_pgport) $(LDFLAGS) $(LIBS) -o $@$(X)
createdb: createdb.o common.o dumputils.o $(top_builddir)/src/backend/parser/keywords.o
createlang: createlang.o common.o print.o mbprint.o