diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-08-21 21:47:50 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-08-21 21:47:50 +0300 |
commit | dca882c1f4c12c048a01bc227993594b3ada299c (patch) | |
tree | 268f9b34fe89961431140cf77ab1a6091c885896 | |
parent | 650fc1a8f35f597dfd999d10136ec2812d203b22 (diff) | |
download | egawk-dca882c1f4c12c048a01bc227993594b3ada299c.tar.gz egawk-dca882c1f4c12c048a01bc227993594b3ada299c.tar.bz2 egawk-dca882c1f4c12c048a01bc227993594b3ada299c.zip |
Solaris fix for intdiv extension.
-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) |