This is the mail archive of the
mailing list for the binutils project.
Honoring DT_RUNPATH in cross-ld
- From: ludo at gnu dot org (Ludovic CourtÃs)
- To: binutils at sourceware dot org
- Date: Tue, 28 May 2013 22:37:52 +0200
- Subject: Honoring DT_RUNPATH in cross-ld
By default, cross ld does not honor DT_RPATH/DT_RUNPATH entries when
searching for a NEEDed shared library.
This behavior can be changed by configuring --with-sysroot, because
genscripts.sh sets USE_LIBPATH=yes as a side effect, which in turn
enables RUNPATH search in elf32.em.
Sometimes this lookup rule is needed even though the system has nothing
like a sysroot (this is the case with GNU Guix, which installs each
package in its own directory, Ã la Stow.)
What about providing a separate configure option specifically for this?