From a248dbc4f8d892b5448b8b3e447762cbee9af357 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 3 Oct 2007 15:04:23 +0000 Subject: [PATCH] Fix command for fetching snprintf.c. --- src/interfaces/ecpg/compatlib/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/interfaces/ecpg/compatlib/Makefile b/src/interfaces/ecpg/compatlib/Makefile index f475317735..8e5a5f8ce2 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.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