summaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorMichael Meskes2007-10-03 14:42:16 +0000
committerMichael Meskes2007-10-03 14:42:16 +0000
commitf06a2b0eccf5439e295b7f0c74d99903cf3a5e75 (patch)
tree62c764354d54dbf84c1101d57ce86a001edd56e0 /src/interfaces
parentc95f5e80a94bafa0c5ea8673b85678c6125e7286 (diff)
This could be what's missing on some systems.
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/ecpg/compatlib/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/compatlib/Makefile b/src/interfaces/ecpg/compatlib/Makefile
index 345cf815f3..f475317735 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