summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2012-12-04 16:35:18 +0100
committerMichael Meskes <meskes@postgresql.org>2012-12-04 16:43:59 +0100
commitf928ffd65e1f48f6d5022e0cda701abd1abd9b0e (patch)
tree63cb98e6c2be5b540140b9a063a1dd76e924e1aa /src
parent6fa51d4ba72570d0f1776f03eaddd8f73b3c6eda (diff)
Include isinf.o in libecpg if isinf() is not available on the system.
Patch done by Jiang Guiqing <jianggq@cn.fujitsu.com>.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/ecpg/ecpglib/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/ecpglib/Makefile b/src/interfaces/ecpg/ecpglib/Makefile
index 0cee867ee4c..ced2fc4654f 100644
--- a/src/interfaces/ecpg/ecpglib/Makefile
+++ b/src/interfaces/ecpg/ecpglib/Makefile
@@ -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