mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
Update ecpg to use snprintf
This commit is contained in:
@@ -14,6 +14,13 @@ OBJ=preproc.o pgc.o type.o ecpg.o ecpg_keywords.o output.o\
|
||||
|
||||
all:: ecpg
|
||||
|
||||
ifneq (@SNPRINTF@,)
|
||||
OBJS+=$(SRCDIR)/backend/port/snprintf.o
|
||||
|
||||
$(SRCDIR)/backend/port/snprintf.o:
|
||||
$(MAKE) -C $(SRCDIR)/backend/port snprintf.o
|
||||
endif
|
||||
|
||||
# Rule that really do something.
|
||||
ecpg: $(OBJ)
|
||||
$(CC) -o ecpg $(OBJ) $(LEXLIB) $(LDFLAGS)
|
||||
Reference in New Issue
Block a user