From 35ff782d714fec1f415bffb588df7b7271c1f9c1 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sun, 1 Aug 2004 18:07:42 +0000
Subject: [PATCH] Add libpgport to postgres.def for Windows build.  Per Magnus
 Hagander.

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

diff --git a/src/backend/Makefile b/src/backend/Makefile
index fb91930b53d..e87356cc5af 100644
--- a/src/backend/Makefile
+++ b/src/backend/Makefile
@@ -4,7 +4,7 @@
 #
 # Copyright (c) 1994, Regents of the University of California
 #
-# $PostgreSQL: pgsql/src/backend/Makefile,v 1.103 2004/07/21 20:34:44 momjian Exp $
+# $PostgreSQL: pgsql/src/backend/Makefile,v 1.104 2004/08/01 18:07:42 tgl Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -66,7 +66,7 @@ postgres: $(OBJS) $(DLLINIT) postgres.def libpostgres.a
 	rm -f $@.exp $@.base
 
 postgres.def: $(OBJS)
-	$(DLLTOOL) --export-all --output-def $@ $^
+	$(DLLTOOL) --export-all --output-def $@ $^ $(top_builddir)/src/port/libpgport.a
 
 libpostgres.a: postgres.def
 	$(DLLTOOL) --dllname postgres.exe --def postgres.def --output-lib $@
-- 
GitLab