From 200545039ca7c7642fb76a96d991613c0cb7f582 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Mon, 28 Nov 2005 22:43:30 +0000
Subject: [PATCH] Come to think of it, the backend doesn't use -lz either.

---
 src/backend/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/backend/Makefile b/src/backend/Makefile
index ff353ef6159..fc0e7723812 100644
--- a/src/backend/Makefile
+++ b/src/backend/Makefile
@@ -4,7 +4,7 @@
 #
 # Copyright (c) 1994, Regents of the University of California
 #
-# $PostgreSQL: pgsql/src/backend/Makefile,v 1.111 2005/11/28 22:06:39 tgl Exp $
+# $PostgreSQL: pgsql/src/backend/Makefile,v 1.112 2005/11/28 22:43:30 tgl Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -22,10 +22,10 @@ SUBSYSOBJS := $(DIRS:%=%/SUBSYS.o)
 OBJS := $(SUBSYSOBJS) $(top_builddir)/src/port/libpgport_srv.a
 
 # We put libpgport into OBJS, so remove it from LIBS
-LIBS := $(patsubst -lpgport, , $(LIBS))
+LIBS := $(filter-out -lpgport, $(LIBS))
 
 # The backend doesn't need everything that's in LIBS, however
-LIBS := $(filter-out -lreadline -ledit -ltermcap -lncurses -lcurses, $(LIBS))
+LIBS := $(filter-out -lz -lreadline -ledit -ltermcap -lncurses -lcurses, $(LIBS))
 
 ifeq ($(PORTNAME), qnx4)
 # This file crashes qnx4's wlink and is therefore not in
-- 
GitLab