[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GnuTls: Fixed compilation of gnutlsxx
From: |
Simon Josefsson |
Subject: |
Re: GnuTls: Fixed compilation of gnutlsxx |
Date: |
Sat, 14 Aug 2010 12:51:53 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) |
"address@hidden" <address@hidden> writes:
> Hello,
> I tried to compile GnuTls in Mingw+Msys and I got an error because
> gnutls/gnutls.h was not found with gnutlsxx.c
> After a quick check I discovered that there was a mistake into
> lib/Makefile.am
> because there was a wrong hardcoded path to includes into
> libgnutlsxx_la_CPPFLAGS.
> I guess the compilation had been possible with some luck if there was already
> a gnutls/gnutls.h installed into the global path. Otherwise, into an empty
> enviroment like mine, the compilation always aborted.
> Attached patch fixes the problem.
> I hope you will find this very little fix useful and it could be possible to
> commit it without the need of subscribing to bugzilla.
Hi. Thanks, I have pushed a similar fix to the gnutls-2.8 branch. It
was already solved on the master branch.
/Simon
> Carlo Bramini.
> diff -r -u gnutls-2.8.6-old//lib/Makefile.am gnutls-2.8.6-new//lib/Makefile.am
> --- gnutls-2.8.6-old//lib/Makefile.am 2009-06-02 19:07:14 +0000
> +++ gnutls-2.8.6-new//lib/Makefile.am 2010-08-13 14:10:08 +0000
> @@ -138,7 +138,7 @@
> # C++ library
>
> if ENABLE_CXX
> -libgnutlsxx_la_CPPFLAGS = -I$(top_srcdir)/includes -I../includes
> +libgnutlsxx_la_CPPFLAGS = -I$(top_srcdir)/includes -I$(builddir)/includes
>
> AM_CXXFLAGS = -I$(top_srcdir)/includes/
>
> _______________________________________________
> Gnutls-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gnutls-devel