From bf65d730de19b914cf1fa59ed2489a71110dc181 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Sun, 30 May 2004 14:07:47 +0000
Subject: [PATCH] Add thread library to libpgport creation.

---
 src/port/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/port/Makefile b/src/port/Makefile
index 8540178de1e..4684cb024e4 100644
--- a/src/port/Makefile
+++ b/src/port/Makefile
@@ -7,7 +7,7 @@
 # with broken/missing library files.
 
 # IDENTIFICATION
-#    $PostgreSQL: pgsql/src/port/Makefile,v 1.14 2004/05/25 01:00:30 momjian Exp $
+#    $PostgreSQL: pgsql/src/port/Makefile,v 1.15 2004/05/30 14:07:47 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -16,10 +16,9 @@ top_builddir = ../..
 include $(top_builddir)/src/Makefile.global
 
 override CPPFLAGS := -I$(top_builddir)/src/port $(CPPFLAGS)
+LIBS += $(PTHREAD_LIBS)
 
-ifdef LIBOBJS
 all: libpgport.a
-endif
 
 libpgport.a: $(LIBOBJS)
 	$(AR) $(AROPT) $@ $^
-- 
GitLab