libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stop "relink" searching host directory when installation prefix prov


From: Martin Panter
Subject: Re: Stop "relink" searching host directory when installation prefix provided
Date: Thu, 20 Jan 2011 07:27:31 +0000

On 16 January 2011 17:13, Ralf Wildenhues <address@hidden> wrote:
> I haven't looked into this in detail yet, but thanks for the good
> writeup and the many references.  We need testsuite exposure for
> this.

Hello again

I've made a test case for my issue (attached patch file). It fails
with current Libtool and if you remove the XFAIL line it passes with
my solution applied. I'm just guessing the syntax etc based on the
other tests, so I wouldn't say it's perfect, but hopefully you can see
what I'm trying to do from the comments.

When I ran all the tests with "make -k check" there are no issues with
the rest of the tests, with or without my patch.

I understand this relinking (at least on Linux) is only needed to
remove hard-coded build directory paths to library dependencies that
Libtool stores during the initial link, which are only put there as a
convenience before things are properly "installed". So perhaps a less
controversial solution or workaround to my problem would be an easy
way to disable these "convenient" build paths and thus the relinking
completely? But I still don't see a problem with my original solution.

-Martin

Attachment: host-relink-test.patch.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]