Skip to content

Commit 94a67cc

Browse files
committed
No need to link libpq into these programs ...
1 parent e29d8f3 commit 94a67cc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/bin/pg_controldata/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1998-2002, PostgreSQL Global Development Group
66
#
7-
# $PostgreSQL: pgsql/src/bin/pg_controldata/Makefile,v 1.4 2003/11/29 19:52:04 pgsql Exp $
7+
# $PostgreSQL: pgsql/src/bin/pg_controldata/Makefile,v 1.5 2004/02/10 23:24:13 tgl Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -17,7 +17,7 @@ OBJS= pg_controldata.o pg_crc.o
1717
all: submake-libpgport pg_controldata
1818

1919
pg_controldata: $(OBJS)
20-
$(CC) $(CFLAGS) $^ $(libpq) $(LDFLAGS) $(LIBS) -o $@
20+
$(CC) $(CFLAGS) $^ $(LDFLAGS) $(LIBS) -o $@
2121

2222
pg_crc.c: $(top_srcdir)/src/backend/utils/hash/pg_crc.c
2323
rm -f $@ && $(LN_S) $< .

src/bin/pg_resetxlog/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1998-2002, PostgreSQL Global Development Group
66
#
7-
# $PostgreSQL: pgsql/src/bin/pg_resetxlog/Makefile,v 1.4 2004/02/02 17:21:08 momjian Exp $
7+
# $PostgreSQL: pgsql/src/bin/pg_resetxlog/Makefile,v 1.5 2004/02/10 23:24:13 tgl Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -20,7 +20,7 @@ OBJS= pg_resetxlog.o pg_crc.o \
2020
all: submake-libpgport pg_resetxlog
2121

2222
pg_resetxlog: $(OBJS)
23-
$(CC) $(CFLAGS) $^ $(libpq) $(LDFLAGS) $(LIBS) -o $@
23+
$(CC) $(CFLAGS) $^ $(LDFLAGS) $(LIBS) -o $@
2424

2525
dirmod.c: % : $(top_srcdir)/src/port/%
2626
rm -f $@ && $(LN_S) $< .

0 commit comments

Comments
 (0)