Also build snprintf from pgport if needed.
This commit is contained in:
parent
449fcf47fb
commit
ab8d123a3c
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 1994, Regents of the University of California
|
# 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 \
|
SHLIB_LINK = -L../ecpglib -lecpg -L../pgtypeslib -lpgtypes $(libpq) -lm \
|
||||||
$(PTHREAD_LIBS)
|
$(PTHREAD_LIBS)
|
||||||
|
|
||||||
|
# Need to recompile any libpgport object files
|
||||||
|
LIBS := $(filter-out -lpgport, $(LIBS))
|
||||||
|
|
||||||
OBJS= informix.o $(filter snprintf.o, $(LIBOBJS))
|
OBJS= informix.o $(filter snprintf.o, $(LIBOBJS))
|
||||||
|
|
||||||
ifneq ($(PORTNAME), win32)
|
ifneq ($(PORTNAME), win32)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user