Move -lpgport to the beginning of the library list for win32 linking.

This commit is contained in:
Bruce Momjian 2004-06-02 21:05:52 +00:00
parent 36ae5efab1
commit de2c66539e
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# -*-makefile-*-
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.188 2004/05/23 15:24:32 tgl Exp $
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.189 2004/06/02 21:05:52 momjian Exp $
#------------------------------------------------------------------------------
# All PostgreSQL makefiles include this file and use the variables it sets,
@ -343,7 +343,7 @@ endif
LIBOBJS = @LIBOBJS@ exec.o noblock.o path.o pipe.o pgsleep.o pgstrcasecmp.o sprompt.o thread.o
ifneq (,$(LIBOBJS))
LIBS += -lpgport
LIBS := -lpgport $(LIBS)
LDFLAGS := -L$(top_builddir)/src/port $(LDFLAGS)
endif