From a4ee68d1d4d1c09f65a6f4b9f5c3cb6130eb953a Mon Sep 17 00:00:00 2001
From: Bryan Henderson <bryanh@giraffe.netgate.net>
Date: Tue, 21 Jan 1997 05:16:38 +0000
Subject: [PATCH] Add link options for libpq library search.

---
 src/bin/pgtclsh/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/pgtclsh/Makefile b/src/bin/pgtclsh/Makefile
index 26cccf5b8c3..07325f5d2c0 100644
--- a/src/bin/pgtclsh/Makefile
+++ b/src/bin/pgtclsh/Makefile
@@ -7,7 +7,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.4 1996/11/11 13:41:25 bryanh Exp $
+#    $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.5 1997/01/21 05:16:38 bryanh Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -19,6 +19,7 @@ CFLAGS+=  -I$(TCL_INCDIR) -I$(TK_INCDIR) -I$(X11_INCDIR) -I$(SRCDIR)/libpgtcl
 
 # try to find libpgtcl.a in either directory
 LIBPGTCL= -L$(SRCDIR)/libpgtcl -L$(LIBDIR) -lpgtcl
+LIBPQ= -L$(LIBPQDIR) -L$(LIBDIR) -lpq
 
 all: pgtclsh pgtksh
 
-- 
GitLab