[gnutls-devel] [PATCH] build: explicit linkage with gmp library

Alon Bar-Lev alon.barlev at gmail.com
Sun Jun 2 20:06:11 CEST 2013


On Sun, Jun 2, 2013 at 8:37 PM, Nikos Mavrogiannopoulos <nmav at gnutls.org> wrote:
> On 06/02/2013 02:45 PM, Alon Bar-Lev wrote:
>
>> gnutls uses gmp library explicitly so it needs to explicit link against
>> it so that all symbols may be resolved.
>>
>> Signed-off-by: Alon Bar-Lev <alon.barlev at gmail.com>
>
>
> Thanks. A fix based on that was committed.
>
> https://gitorious.org/gnutls/gnutls/commit/02eb70d6d96f624ed6cc55dfa62734495dffbb44
>
> regards,
> Nikos

Thanks!

However, if you use libtool, you don't need to add the dependency of
the libcrypto to users of libcrypto... I refer to the change in
lib/Makefile.am which is somewhat redundant, if you add the dependency
where it belongs - to libcrypto.

I also tend not to mix between CPPFLAGS and CFLAGS, pkg-config and
XXX_CFLAGS can contain flags that are not accepted by the
pre-processor.

Regards,
Alon



More information about the Gnutls-devel mailing list