Subject: Re: binary contains wrong RPATH, DESTDIR support suspected
To: None <tech-pkg@NetBSD.org>
From: Joerg Sonnenberger <firstname.lastname@example.org>
Date: 12/14/2007 15:18:15
On Fri, Dec 14, 2007 at 01:28:51AM +0100, Klaus Heinz wrote:
> On the other hand, the software does things in an (IMO) unusual way:
> It supports INSTALL_ROOT (= our DESTDIR), but prefixes every variable
> with it _right from the start_ so the value of INSTALL_ROOT is also
> used while constructing linker flags, which is clearly wrong in the case
> of RPATH flags.
That shouldn't be a problem if INSTALL_ROOT is only set during the
install stage, as long as it doesn't rebuild anything in that stage.