Results from buildfarm show that ecpglib was depending on pg_strcasecmp,
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 4 Oct 2007 20:54:08 +0000 (20:54 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 4 Oct 2007 20:54:08 +0000 (20:54 +0000)
which evidently it got as an unofficial export from pgtypeslib.

src/interfaces/ecpg/ecpglib/Makefile

index c8a67f080ab49260679162dc263cd5128e80d03d..c0babfab614b6fb479cb47ea78f62812fd80e376 100644 (file)
@@ -25,7 +25,7 @@ override CFLAGS += $(PTHREAD_CFLAGS)
 LIBS := $(filter-out -lpgport, $(LIBS))
 
 OBJS= execute.o typename.o descriptor.o data.o error.o prepare.o memory.o \
-       connect.o misc.o path.o \
+       connect.o misc.o path.o pgstrcasecmp.o \
        $(filter snprintf.o strlcpy.o, $(LIBOBJS))
 
 # thread.c is needed only for non-WIN32 implementation of path.c
@@ -51,7 +51,7 @@ include $(top_srcdir)/src/Makefile.shlib
 # necessarily use the same object files as the backend uses. Instead,
 # symlink the source files in here and build our own object file.
 
-path.c snprintf.c strlcpy.c thread.c: % : $(top_srcdir)/src/port/%
+path.c pgstrcasecmp.c snprintf.c strlcpy.c thread.c: % : $(top_srcdir)/src/port/%
        rm -f $@ && $(LN_S) $< .
 
 path.o: path.c $(top_builddir)/src/port/pg_config_paths.h
@@ -113,4 +113,5 @@ installdirs:
 uninstall: uninstall-lib
 
 clean distclean maintainer-clean: clean-lib
-       rm -f $(OBJS) path.c snprintf.c strlcpy.c thread.c exports.list
+       rm -f $(OBJS)
+       rm -f path.c pgstrcasecmp.c snprintf.c strlcpy.c thread.c exports.list