]> granicus.if.org Git - postgresql/commitdiff
Add thread library to libpgport creation.
authorBruce Momjian <bruce@momjian.us>
Sun, 30 May 2004 14:07:47 +0000 (14:07 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 30 May 2004 14:07:47 +0000 (14:07 +0000)
src/port/Makefile

index 8540178de1eca4a8d043efde9ea71378638e5c31..4684cb024e49113e7391be861c77181d7cd845d7 100644 (file)
@@ -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) $@ $^