From 326fbd88373f259911c24cbee4a5f0c374e97a19 Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter_e@gmx.net>
Date: Fri, 15 Dec 2000 18:50:35 +0000
Subject: [PATCH] List .o file explicitly as dependency, to work around a gmake
 bug (intermediate .o file gets deleted and rebuild on next make invocation).

---
 src/pl/tcl/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/pl/tcl/Makefile b/src/pl/tcl/Makefile
index 33e7b398165..c47a8df915c 100644
--- a/src/pl/tcl/Makefile
+++ b/src/pl/tcl/Makefile
@@ -2,7 +2,7 @@
 #
 # Makefile for the pltcl shared object
 #
-# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.25 2000/11/03 20:27:40 petere Exp $
+# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.26 2000/12/15 18:50:35 petere Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -94,6 +94,8 @@ ifeq ($(TCL_SHARED_BUILD), 1)
 
 all: $(INFILES)
 
+pltcl$(DLSUFFIX): pltcl.o
+
 install: all installdirs
 	$(INSTALL_SHLIB) $(DLOBJS) $(DESTDIR)$(libdir)/$(DLOBJS)
 
-- 
GitLab