Fix command for fetching snprintf.c.

This commit is contained in:
Tom Lane 2007-10-03 15:04:23 +00:00
parent f06a2b0ecc
commit a248dbc4f8

View File

@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.31 2007/10/03 14:42:16 meskes Exp $
# $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.32 2007/10/03 15:04:23 tgl Exp $
#
#-------------------------------------------------------------------------
@ -20,6 +20,7 @@ DLTYPE= library
override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
-I$(libpq_srcdir) -I$(top_srcdir)/src/include/utils $(CPPFLAGS)
override CFLAGS += $(PTHREAD_CFLAGS)
SHLIB_LINK = -L../ecpglib -lecpg -L../pgtypeslib -lpgtypes $(libpq) -lm \
$(PTHREAD_LIBS)
@ -37,7 +38,7 @@ all: all-lib
# Shared library stuff
include $(top_srcdir)/src/Makefile.shlib
snprintf.c: $(top_srcdir)/src/port/%
snprintf.c: % : $(top_srcdir)/src/port/%
rm -f $@ && $(LN_S) $< .
# We need several not-quite-identical variants of .DEF files to build libecpg