From 86b5545260be00aa2205b7b5d2266a6259b3770d Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Wed, 17 Nov 2004 17:08:15 +0000
Subject: [PATCH] Adjust SHLIB_LINK for cygwin case. Reini Urban

---
 src/Makefile.shlib | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Makefile.shlib b/src/Makefile.shlib
index 274e11fcb49..1890182c800 100644
--- a/src/Makefile.shlib
+++ b/src/Makefile.shlib
@@ -6,7 +6,7 @@
 # Copyright (c) 1998, Regents of the University of California
 #
 # IDENTIFICATION
-#    $PostgreSQL: pgsql/src/Makefile.shlib,v 1.87 2004/11/16 21:51:13 tgl Exp $
+#    $PostgreSQL: pgsql/src/Makefile.shlib,v 1.88 2004/11/17 17:08:15 tgl Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -219,7 +219,7 @@ endif
 ifeq ($(PORTNAME), cygwin)
   shlib			= $(NAME)$(DLSUFFIX)
   # needed for /contrib modules, not sure why
-  SHLIB_LINK		+= -lpgport
+  SHLIB_LINK		+= $(LIBS)
   haslibarule   = yes
 endif
 
-- 
GitLab