diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-10-03 15:04:23 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-10-03 15:04:23 +0000 |
commit | a248dbc4f8d892b5448b8b3e447762cbee9af357 (patch) | |
tree | 376f23aff993381f70cdc02f390eb809eb4be191 /src/interfaces/ecpg | |
parent | f06a2b0eccf5439e295b7f0c74d99903cf3a5e75 (diff) | |
download | postgresql-a248dbc4f8d892b5448b8b3e447762cbee9af357.tar.gz |
Fix command for fetching snprintf.c.
Diffstat (limited to 'src/interfaces/ecpg')
-rw-r--r-- | src/interfaces/ecpg/compatlib/Makefile | 5 |
1 files 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 |