Re: [PATCH] test: set LD_LIBRARY_PATH early and keep its old contents

Subject: Re: [PATCH] test: set LD_LIBRARY_PATH early and keep its old contents

Date: Sun, 15 May 2016 10:50:16 -0300

To: Tomi Ollila, notmuch@notmuchmail.org

Cc: tomi.ollila@iki.fi

From: David Bremner


Tomi Ollila <tomi.ollila@iki.fi> writes:

> Previously LD_LIBRARY_PATH was set in the middle of test case
> execution, when a function setting it was called.
>
> Previously the old contents of LD_LIBRARY_PATH was lost (if any)
> when it was re-set. In some systems the old contents of
> LD_LIBRARY_PATH was needed to e.g. locate suitable gmime library.

Maybe I'm too fussy today, but isn't the important difference here
whether LD_LIBRARY_PATH is exported or not?

d

Thread: