OSDN Git Service

Move -lpgport to the beginning of the library list for win32 linking.
authorBruce Momjian <bruce@momjian.us>
Wed, 2 Jun 2004 21:05:52 +0000 (21:05 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 2 Jun 2004 21:05:52 +0000 (21:05 +0000)
src/Makefile.global.in

index 6ee0ceb..7a56b9b 100644 (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