]> granicus.if.org Git - postgresql/commitdiff
Include isinf.o in libecpg if isinf() is not available on the system.
authorMichael Meskes <meskes@postgresql.org>
Tue, 4 Dec 2012 15:35:18 +0000 (16:35 +0100)
committerMichael Meskes <meskes@postgresql.org>
Tue, 4 Dec 2012 15:43:59 +0000 (16:43 +0100)
Patch done by Jiang Guiqing <jianggq@cn.fujitsu.com>.

src/interfaces/ecpg/ecpglib/Makefile

index 0cee867ee4c74ca5b74902cabf5a1ac2195d07e4..ced2fc4654f9606dc1fb71e601c7429ad3d08589 100644 (file)
@@ -26,7 +26,7 @@ LIBS := $(filter-out -lpgport, $(LIBS))
 
 OBJS= execute.o typename.o descriptor.o sqlda.o data.o error.o prepare.o memory.o \
        connect.o misc.o path.o pgstrcasecmp.o \
-       $(filter snprintf.o strlcpy.o, $(LIBOBJS))
+       $(filter snprintf.o strlcpy.o isinf.o, $(LIBOBJS))
 
 # thread.c is needed only for non-WIN32 implementation of path.c
 ifneq ($(PORTNAME), win32)
@@ -58,7 +58,11 @@ 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.
 
+<<<<<<< HEAD
 path.c pgstrcasecmp.c snprintf.c strlcpy.c thread.c: % : $(top_srcdir)/src/port/%
+=======
+path.c pgstrcasecmp.c snprintf.c strlcpy.c thread.c win32setlocale.c isinf.c: % : $(top_srcdir)/src/port/%
+>>>>>>> 6fc6ebf... Include isinf.o in libecpg if isinf() is not available on the system.
        rm -f $@ && $(LN_S) $< .
 
 misc.o: misc.c $(top_builddir)/src/port/pg_config_paths.h