cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: setting LD_LIBRARY_PATH when cross-compiling

From: Rob Ward <rob_at_rob-ward.co.uk>
Date: Thu, 9 Feb 2012 15:10:33 +0000

On 8 February 2012 21:30, Daniel Stenberg <daniel_at_haxx.se> wrote:

> Hi friends,
>
> I found this patch of curl's configure.ac in the Yocto project:
>
> http://git.yoctoproject.org/**cgit/cgit.cgi/poky/tree/meta/**
> recipes-support/curl/c<http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-support/curl/c>
> url/noldlibpath.patch
>
> While being quite hard-coded, it does have a point in that we should not
> touch LD_LIBRARY_PATH when cross-compiling. Any taker on fixing it properly?
>
> --
>
> / daniel.haxx.se
>

Couldn't something as simple as what I have attached achieve the same.

Note I am not a make system expert and this was done very quickly as a
proof on concept, while I have tested this building natively and it seems
to be fine I have not done any cross compiling yet. I will try and test
this on an arm cross compile tonight(unless anyone beats me to it) and
check.

Comments on if this approach will/won't work or if it could be modified
would be appreciated, and if it is completely wrong please tell me, I won't
take it personally :-)

Cheers,

Rob

-- 
------------------------------
Rob Ward
www.rob-ward.co.uk


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2012-02-09