From df5a58811bff633b00b2a94fd139591e2be0bf25 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 7 Aug 2003 04:03:18 +0000 Subject: [PATCH] Add -lm for ecpg/pgtypeslib/Makefile link so -lm isn't required for ecpg compiles. --- src/interfaces/ecpg/pgtypeslib/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/interfaces/ecpg/pgtypeslib/Makefile b/src/interfaces/ecpg/pgtypeslib/Makefile index 384684813e..790d87a660 100644 --- a/src/interfaces/ecpg/pgtypeslib/Makefile +++ b/src/interfaces/ecpg/pgtypeslib/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.10 2003/08/06 02:19:51 momjian Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.11 2003/08/07 04:03:18 momjian Exp $ # #------------------------------------------------------------------------- @@ -17,6 +17,7 @@ SO_MAJOR_VERSION= 1 SO_MINOR_VERSION= 0 override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include -I$(top_srcdir)/src/include/utils $(CPPFLAGS) $(THREAD_CFLAGS) -g +SHLIB_LINK += -lm OBJS= numeric.o datetime.o common.o dt_common.o timestamp.o interval.o \ $(filter rint.o, $(LIBOBJS)) -- GitLab