Re: [pcre-dev] [PATCH] extra libs in libpcre

Page principale
Supprimer ce message
Auteur: Philip Hazel
Date:  
À: Yaakov (Cygwin Ports)
CC: pcre-dev
Sujet: Re: [pcre-dev] [PATCH] extra libs in libpcre
On Sat, 6 Sep 2008, Yaakov (Cygwin Ports) wrote:

> Currently, when bzlib/zlib/readline support is enabled, the relevant
> libraries are added directly to LIBS, and all targets are linked against
> these libraries. This includes libpcre*, even though they never depend
> on these external libraries. Since libtool hard-codes link libraries as
> dependencies, linking against libpcre*.la requires these other libraries
> to be present, and libpcre-devel requires libz-devel, libbz2-devel, and
> libreadline-devel.
>
> I am attaching a patch which fixes this situation by only linking
> pcregrep and pcretest against these optional dependencies instead. The
> patch was made against 7.7, but applies to 7.8 as well.


Thanks. I have saved it up for 7.9, but I don't know when that is likely
to be - unless a bad bug turns up, probably not for a number of months.

Philip

--
Philip Hazel