From b57cbb4ef0a387692fc94ffbfd61090f210d0a54 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Tue, 2 Mar 2004 15:17:16 +0000
Subject: [PATCH] Add missing sprompt.obj psql usage for Borland compiler, per
 private report from krizsan.

Backpatch to 7.4.X.
---
 src/bin/psql/bcc32.mak | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/bin/psql/bcc32.mak b/src/bin/psql/bcc32.mak
index 7df1f664e8f..fa0c9ef1f1d 100644
--- a/src/bin/psql/bcc32.mak
+++ b/src/bin/psql/bcc32.mak
@@ -70,6 +70,7 @@ CLEAN :
 	-@erase "$(INTDIR)\print.obj"
 	-@erase "$(INTDIR)\describe.obj"
 	-@erase "$(INTDIR)\tab-complete.obj"
+	-@erase "$(INTDIR)\sprompt.obj"
 	-@erase "$(INTDIR)\getopt.obj"
 	-@erase "$(INTDIR)\getopt_long.obj"
 	-@erase "$(INTDIR)\path.obj"
@@ -123,9 +124,10 @@ LINK32_OBJS= \
 	print.obj \
 	describe.obj \
 	tab-complete.obj \
+	sprompt.obj \
 	getopt.obj \
-      getopt_long.obj \
-      path.obj \
+	getopt_long.obj \
+	path.obj \
 	mbprint.obj
 	
 
@@ -137,6 +139,7 @@ LINK32_OBJS= \
 	import32.lib $(LIBRARIES),,
 !
 
+sprompt.obj : "$(OUTDIR)" ..\..\port\sprompt.c
 getopt.obj : "$(OUTDIR)" ..\..\port\getopt.c
 getopt_long.obj : "$(OUTDIR)" ..\..\port\getopt_long.c
 path.obj : "$(OUTDIR)" ..\..\port\path.c
-- 
GitLab