Re: [pcre-dev] [PATCH] fix cross compiling

Top Page
Delete this message
Author: Philip Hazel
Date:  
To: Raphaël HUCK
CC: pcre-dev
Subject: Re: [pcre-dev] [PATCH] fix cross compiling
On Wed, 2 Nov 2011, Raphaël HUCK wrote:

> this patch fixes cross compiling and has been used for 6 years in
> OpenWrt:
>
> https://dev.openwrt.org/browser/trunk/openwrt/package/pcre/patches/750-pcre_config_cross.patch?rev=1864
>
> Would you consider integrating it into PCRE?


It seems that your patch removes the output -L/usr/lib from the line
output by the command "pcre-config --libs". I've just looked at a number
of x-config commands, and there doesn't seem to be any consistency. Some
of them have -L/usr/lib and some of them do not. Presumably it is the
presence of this that causes you trouble?

Does anybody on this list care to comment as to whether it is currently
best practice to include -L/usr/lib or to omit it?

Philip

--
Philip Hazel