diff options
author | Michael Meskes <meskes@postgresql.org> | 2007-10-03 13:40:52 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2007-10-03 13:40:52 +0000 |
commit | ab8d123a3c096cac2aa012b45237987038db0d4b (patch) | |
tree | 079ffc9c1733c03fe4be0066930747b9345ec5fc /src | |
parent | 449fcf47fbe6ea1a23282662e8f0e4bc590d56c8 (diff) | |
download | postgresql-ab8d123a3c096cac2aa012b45237987038db0d4b.tar.gz postgresql-ab8d123a3c096cac2aa012b45237987038db0d4b.zip |
Also build snprintf from pgport if needed.
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/ecpg/compatlib/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/compatlib/Makefile b/src/interfaces/ecpg/compatlib/Makefile index 574a9a01826..345cf815f3b 100644 --- a/src/interfaces/ecpg/compatlib/Makefile +++ b/src/interfaces/ecpg/compatlib/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1994, Regents of the University of California # -# $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.29 2007/10/03 13:24:54 meskes Exp $ +# $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.30 2007/10/03 13:40:52 meskes Exp $ # #------------------------------------------------------------------------- @@ -23,6 +23,9 @@ override CFLAGS += $(PTHREAD_CFLAGS) SHLIB_LINK = -L../ecpglib -lecpg -L../pgtypeslib -lpgtypes $(libpq) -lm \ $(PTHREAD_LIBS) +# Need to recompile any libpgport object files +LIBS := $(filter-out -lpgport, $(LIBS)) + OBJS= informix.o $(filter snprintf.o, $(LIBOBJS)) ifneq ($(PORTNAME), win32) |