From fcd65952fd2dc6ea6b656586cf76db81ac61899a Mon Sep 17 00:00:00 2001
From: "Marc G. Fournier" <scrappy@hub.org>
Date: Tue, 25 Mar 1997 08:14:25 +0000
Subject: [PATCH] Use $(LD_ADD) from Makefile.global instead of $(LDADD), which
 doesn't exist...

Pointed out indirectly by D'Arcy
---
 src/backend/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/Makefile b/src/backend/Makefile
index 3a4d23d6335..8f4a261941e 100644
--- a/src/backend/Makefile
+++ b/src/backend/Makefile
@@ -34,7 +34,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.20 1997/03/12 20:44:57 scrappy Exp $
+#    $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.21 1997/03/25 08:14:25 scrappy Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -60,7 +60,7 @@ endif
 all: postgres $(EXP) global1.bki.source local1_template1.bki.source
 
 postgres: $(OBJS) ../utils/version.o
-	gcc -o postgres $(LDFLAGS) $(OBJS) ../utils/version.o $(LDADD) -lm -ldl
+	gcc -o postgres $(LDFLAGS) $(OBJS) ../utils/version.o $(LD_ADD) 
 
 $(OBJS): $(DIRS:%=%.dir)
 
-- 
GitLab