Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a248dbc

Browse files
committed
Fix command for fetching snprintf.c.
1 parent f06a2b0 commit a248dbc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/interfaces/ecpg/compatlib/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1994, Regents of the University of California
66
#
7-
# $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.31 2007/10/03 14:42:16 meskes Exp $
7+
# $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.32 2007/10/03 15:04:23 tgl Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -20,6 +20,7 @@ DLTYPE= library
2020
override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
2121
-I$(libpq_srcdir) -I$(top_srcdir)/src/include/utils $(CPPFLAGS)
2222
override CFLAGS += $(PTHREAD_CFLAGS)
23+
2324
SHLIB_LINK = -L../ecpglib -lecpg -L../pgtypeslib -lpgtypes $(libpq) -lm \
2425
$(PTHREAD_LIBS)
2526

@@ -37,7 +38,7 @@ all: all-lib
3738
# Shared library stuff
3839
include $(top_srcdir)/src/Makefile.shlib
3940

40-
snprintf.c: $(top_srcdir)/src/port/%
41+
snprintf.c: % : $(top_srcdir)/src/port/%
4142
rm -f $@ && $(LN_S) $< .
4243

4344
# We need several not-quite-identical variants of .DEF files to build libecpg

0 commit comments

Comments
 (0)