diff options
-rw-r--r-- | extension/ChangeLog | 5 | ||||
-rw-r--r-- | extension/Makefile.am | 5 | ||||
-rw-r--r-- | extension/Makefile.in | 5 |
3 files changed, 11 insertions, 4 deletions
diff --git a/extension/ChangeLog b/extension/ChangeLog index c4253909..546006ff 100644 --- a/extension/ChangeLog +++ b/extension/ChangeLog @@ -1,3 +1,8 @@ +2017-08-21 Arnold D. Robbins <arnold@skeeve.com> + + * Makefile.am (ntdiv_la_LIBADD): Add -lm for Solaris systems, + per report from Nelson H.F. Beebe. + 2017-08-21 Daniel Richard G. <skunk@iSKUNK.ORG> * configure: Regenerated after update to m4/arch.m4. diff --git a/extension/Makefile.am b/extension/Makefile.am index 147da40a..df55b98f 100644 --- a/extension/Makefile.am +++ b/extension/Makefile.am @@ -73,10 +73,11 @@ inplace_la_SOURCES = inplace.c inplace_la_LDFLAGS = $(MY_MODULE_FLAGS) inplace_la_LIBADD = $(MY_LIBS) -# On Cygwin, intdiv has to be linked with the MPFR and GMP libraries +# On Cygwin, intdiv has to be linked with the MPFR and GMP libraries. +# Solaris in addition wants the math library. intdiv_la_SOURCES = intdiv.c intdiv_la_LDFLAGS = $(MY_MODULE_FLAGS) -intdiv_la_LIBADD = $(MY_LIBS) $(LIBMPFR) +intdiv_la_LIBADD = $(MY_LIBS) $(LIBMPFR) -lm ordchr_la_SOURCES = ordchr.c ordchr_la_LDFLAGS = $(MY_MODULE_FLAGS) diff --git a/extension/Makefile.in b/extension/Makefile.in index 917618cb..f4bb6289 100644 --- a/extension/Makefile.in +++ b/extension/Makefile.in @@ -558,10 +558,11 @@ inplace_la_SOURCES = inplace.c inplace_la_LDFLAGS = $(MY_MODULE_FLAGS) inplace_la_LIBADD = $(MY_LIBS) -# On Cygwin, intdiv has to be linked with the MPFR and GMP libraries +# On Cygwin, intdiv has to be linked with the MPFR and GMP libraries. +# Solaris in addition wants the math library. intdiv_la_SOURCES = intdiv.c intdiv_la_LDFLAGS = $(MY_MODULE_FLAGS) -intdiv_la_LIBADD = $(MY_LIBS) $(LIBMPFR) +intdiv_la_LIBADD = $(MY_LIBS) $(LIBMPFR) -lm ordchr_la_SOURCES = ordchr.c ordchr_la_LDFLAGS = $(MY_MODULE_FLAGS) ordchr_la_LIBADD = $(MY_LIBS) |