"Claes Wallin (韋嘉誠)" <g...@clacke.user.lysator.liu.se> skribis:

> On Jul 1, 2015 3:32 PM, "Ludovic Courtès" <l...@gnu.org> wrote:
>
>> > I'm working on s6, and it
>> > expects -lexecline to work. Currently I'm feeding its configure
>> > "--with-lib=.../lib/execline", would be nice to get that done in
>> > execline instead. Modifying LIBRARY_PATH has no effect, what do I need
>> > to do to override gcc?
>>
>> LIBRARY_PATH is automatically set to contains all the lib/
>> sub-directories, so nothing special is needed.  The problem probably
>> lies elsewhere, maybe in the build system of s6.
>
> If I do 'guix environment s6' with s6 having execline as an input, only
> .../...execline.../lib is in LIBRARY_PATH, .../lib/execline isn't.

I see.  Then I think passing --with-lib to s6’s configure script is the
right thing.

Alternately, if you think other packages will need this in the future,
you could pass execline’s configure something like --libdir=PREFIX/lib
to have the library installed to that place instead of
PREFIX/lib/libexec.

Could, you send an updated patch?

TIA!

Ludo’.

Reply via email to