diff options
author | Bruno Haible <bruno@clisp.org> | 2020-07-12 23:47:52 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-07-12 23:47:52 +0200 |
commit | 1e402b7d9d0fd28e9e8433a9ae7e601c8250735f (patch) | |
tree | e6f11988d7bfc78ffc103d80c9b31eb4a761f26d /modules/libgmp | |
parent | a17c8678d78547bdda40b859064657ad732f61b0 (diff) | |
download | gnulib-1e402b7d9d0fd28e9e8433a9ae7e601c8250735f.tar.gz |
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).
Diffstat (limited to 'modules/libgmp')
-rw-r--r-- | modules/libgmp | 3 |
1 files changed, 2 insertions, 1 deletions
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: <gmp.h> Link: -$(LIB_GMP) +$(LTLIBGMP) when linking with libtool, $(LIBGMP) otherwise License: LGPLv3+ or GPLv2+ |