Move -lpgport to the beginning of the library list for win32 linking.
This commit is contained in:
parent
36ae5efab1
commit
de2c66539e
|
@ -1,5 +1,5 @@
|
||||||
# -*-makefile-*-
|
# -*-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,
|
# 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
|
LIBOBJS = @LIBOBJS@ exec.o noblock.o path.o pipe.o pgsleep.o pgstrcasecmp.o sprompt.o thread.o
|
||||||
|
|
||||||
ifneq (,$(LIBOBJS))
|
ifneq (,$(LIBOBJS))
|
||||||
LIBS += -lpgport
|
LIBS := -lpgport $(LIBS)
|
||||||
LDFLAGS := -L$(top_builddir)/src/port $(LDFLAGS)
|
LDFLAGS := -L$(top_builddir)/src/port $(LDFLAGS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue