Add -lm for ecpg/pgtypeslib/Makefile link so -lm isn't required for ecpg
authorBruce Momjian <[email protected]>
Thu, 7 Aug 2003 04:03:18 +0000 (04:03 +0000)
committerBruce Momjian <[email protected]>
Thu, 7 Aug 2003 04:03:18 +0000 (04:03 +0000)
compiles.

src/interfaces/ecpg/pgtypeslib/Makefile

index 85c0ec96509d79c4b5ceebe8398b270a7fbf6a06..cfb3f03dcf73a143f5c7defdc4d5f2e4d8608cf4 100644 (file)
@@ -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))