Add thread library to libpgport creation.

This commit is contained in:
Bruce Momjian 2004-05-30 14:07:47 +00:00
parent c6719a2784
commit bf65d730de

View File

@ -7,7 +7,7 @@
# with broken/missing library files. # with broken/missing library files.
# IDENTIFICATION # 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 include $(top_builddir)/src/Makefile.global
override CPPFLAGS := -I$(top_builddir)/src/port $(CPPFLAGS) override CPPFLAGS := -I$(top_builddir)/src/port $(CPPFLAGS)
LIBS += $(PTHREAD_LIBS)
ifdef LIBOBJS
all: libpgport.a all: libpgport.a
endif
libpgport.a: $(LIBOBJS) libpgport.a: $(LIBOBJS)
$(AR) $(AROPT) $@ $^ $(AR) $(AROPT) $@ $^