GnuTLS 2.6.0
Simon Josefsson
simon at josefsson.org
Tue Oct 7 19:35:07 CEST 2008
ludo at gnu.org (Ludovic Courtès) writes:
> Hi,
>
> The attached patch fixes compilation of the `pkcs12-decode' test in
> 2.6.0 when using minitasn1.
Hi! As far as I can tell, the LDADD should not be necessary,
libminitasn1.la should be linked together with libgnutls.la. Could you
check if only adding the -I solves the problem?
Thanks,
Simon
> From bd887245be3448b8d5e87015b1c04848e7c10c95 Mon Sep 17 00:00:00 2001
> From: =?utf-8?q?Ludovic=20Court=C3=A8s?= <ludo at gnu.org>
> Date: Tue, 7 Oct 2008 18:02:25 +0200
> Subject: [PATCH] Fix compilation of `pkcs12-decode' test when using minitasn1.
>
> * tests/pkcs12-decode/Makefile.am (AM_CPPFLAGS)[ENABLE_MINITASN1]: Add
> `minitasn1' include directory.
> (LDADD)[ENABLE_MINITASN1]: Likewise.
> ---
> tests/pkcs12-decode/Makefile.am | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/tests/pkcs12-decode/Makefile.am b/tests/pkcs12-decode/Makefile.am
> index 8a62aee..80eb7ef 100644
> --- a/tests/pkcs12-decode/Makefile.am
> +++ b/tests/pkcs12-decode/Makefile.am
> @@ -36,3 +36,9 @@ AM_CPPFLAGS = -I$(top_srcdir)/lgl -I$(top_builddir)/lgl \
> AM_LDFLAGS = -no-install
> LDADD = ../../lib/libgnutls.la ../../gl/libgnu.la ../../lgl/liblgnu.la ../libutils.la
>
> +if ENABLE_MINITASN1
> +
> +AM_CPPFLAGS += -I$(top_srcdir)/lib/minitasn1
> +LDADD += $(top_builddir)/lib/minitasn1/libminitasn1.la
> +
> +endif
> --
> 1.6.0
>
> _______________________________________________
> Gnutls-devel mailing list
> Gnutls-devel at gnu.org
> http://lists.gnu.org/mailman/listinfo/gnutls-devel
More information about the Gnutls-devel
mailing list