From 1e402b7d9d0fd28e9e8433a9ae7e601c8250735f Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 12 Jul 2020 23:47:52 +0200 Subject: libgmp: Link to the correct shared library. * m4/libgmp.m4 (gl_LIBGMP): Invoke AC_LIB_HAVE_LINKFLAGS. * modules/libgmp (Depends-on): Add havelib. (Link): Mention $(LIBGMP) and $(LTLIBGMP). * modules/libgmp-tests (Makefile.am): Link test-libgmp with $(LIBGMP). --- modules/libgmp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/libgmp') diff --git a/modules/libgmp b/modules/libgmp index b686717680..70f20cf70c 100644 --- a/modules/libgmp +++ b/modules/libgmp @@ -8,6 +8,7 @@ lib/mini-gmp.h m4/libgmp.m4 Depends-on: +havelib configure.ac: gl_LIBGMP @@ -33,7 +34,7 @@ Include: Link: -$(LIB_GMP) +$(LTLIBGMP) when linking with libtool, $(LIBGMP) otherwise License: LGPLv3+ or GPLv2+ -- cgit v1.2.1