cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: setting LD_LIBRARY_PATH when cross-compiling

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 9 Feb 2012 23:06:06 +0100 (CET)

On Thu, 9 Feb 2012, Rob Ward wrote:

> 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 :-)

It looked fine and matched my idea of what had to be done. It could possibly
be done in another way with a function for most of the magic to avoid having
to repeat it in several places but I consider this good enough to merge and
therefore I just pushed your change!

Note: I edited the commit message since we want the first line in it to be
short

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-02-09