aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/compatlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/ecpg/compatlib/Makefile')
-rw-r--r--src/interfaces/ecpg/compatlib/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/compatlib/Makefile b/src/interfaces/ecpg/compatlib/Makefile
index e07a7fa8134..f6a7f2178e3 100644
--- a/src/interfaces/ecpg/compatlib/Makefile
+++ b/src/interfaces/ecpg/compatlib/Makefile
@@ -32,7 +32,7 @@ SHLIB_EXPORTS = exports.txt
LIBS := $(filter-out -lpgport, $(LIBS))
OBJS= informix.o snprintf.o strerror.o \
- $(filter strnlen.o, $(LIBOBJS)) $(WIN32RES)
+ $(filter strlcpy.o strnlen.o, $(LIBOBJS)) $(WIN32RES)
PKG_CONFIG_REQUIRES_PRIVATE = libecpg libpgtypes
@@ -49,7 +49,7 @@ submake-pgtypeslib:
# Shared library stuff
include $(top_srcdir)/src/Makefile.shlib
-snprintf.c strerror.c strnlen.c: % : $(top_srcdir)/src/port/%
+snprintf.c strerror.c strlcpy.c strnlen.c: % : $(top_srcdir)/src/port/%
rm -f $@ && $(LN_S) $< .
install: all installdirs install-lib
@@ -59,6 +59,6 @@ installdirs: installdirs-lib
uninstall: uninstall-lib
clean distclean: clean-lib
- rm -f $(OBJS) snprintf.c strerror.c strnlen.c
+ rm -f $(OBJS) snprintf.c strerror.c strlcpy.c strnlen.c
maintainer-clean: distclean maintainer-clean-lib