Patch for pkg-config file

Niels Möller nisse at lysator.liu.se
Mon Aug 5 04:36:50 UTC 2019


Hugh McMaster <hugh.mcmaster at outlook.com> writes:

> --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
> +++ b/gmp.pc.in	Sun Aug 04 22:35:15 2019 +1000
> @@ -0,0 +1,12 @@
> +prefix=@prefix@
> +exec_prefix=@exec_prefix@
> +includedir=@includedir@
> +libdir=@libdir@
> +
> +Name: @PACKAGE_NAME@
> +Description: GNU Multiple Precision Arithmetic Library
> +URL: https://gmplib.org
> +Version: @PACKAGE_VERSION@
> +Cflags: -I${includedir}
> +Libs: -L${libdir} -lgmp
> +Libs.private: @LIBM@

@LIBM@ shouldn't be needed. I don't know why configure checks for it,
from comments, possibly libtool-related.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.


More information about the gmp-devel mailing list