diff options
-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 |