This could be what's missing on some systems.
authorMichael Meskes <meskes@postgresql.org>
Wed, 3 Oct 2007 14:42:16 +0000 (14:42 +0000)
committerMichael Meskes <meskes@postgresql.org>
Wed, 3 Oct 2007 14:42:16 +0000 (14:42 +0000)
src/interfaces/ecpg/compatlib/Makefile

index 345cf815f3b90b54abc74ff21acad48883d17a1f..f475317735ba3a8c030d5eb5c806249e4fddd200 100644 (file)
@@ -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