From: Bruce Momjian Date: Thu, 7 Aug 2003 04:03:18 +0000 (+0000) Subject: Add -lm for ecpg/pgtypeslib/Makefile link so -lm isn't required for ecpg X-Git-Tag: REL7_4_BETA2~162 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df5a58811bff633b00b2a94fd139591e2be0bf25;p=postgresql Add -lm for ecpg/pgtypeslib/Makefile link so -lm isn't required for ecpg compiles. --- 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))