From f06a2b0eccf5439e295b7f0c74d99903cf3a5e75 Mon Sep 17 00:00:00 2001 From: Michael Meskes Date: Wed, 3 Oct 2007 14:42:16 +0000 Subject: [PATCH] This could be what's missing on some systems. --- src/interfaces/ecpg/compatlib/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/interfaces/ecpg/compatlib/Makefile b/src/interfaces/ecpg/compatlib/Makefile index 345cf815f3b..f475317735b 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.30 2007/10/03 13:40:52 meskes Exp $ +# $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.31 2007/10/03 14:42:16 meskes Exp $ # #------------------------------------------------------------------------- @@ -37,6 +37,9 @@ all: all-lib # Shared library stuff include $(top_srcdir)/src/Makefile.shlib +snprintf.c: $(top_srcdir)/src/port/% + rm -f $@ && $(LN_S) $< . + # We need several not-quite-identical variants of .DEF files to build libecpg # DLLs for Windows. These are made from the single source file exports.txt. # Since we can't assume that Windows boxes will have sed, the .DEF files are -- 2.39.5