make dlopen honor the rpath of the main program
authorRich Felker <dalias@aerifal.cx>
Sat, 24 Aug 2013 03:13:25 +0000 (23:13 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 24 Aug 2013 03:13:25 +0000 (23:13 -0400)
commit0f9b1f672b68b7c3570f07b130cc5c8938b22bad
treef8e42f04ffca9f8a60ece3d5f5a18027adebccae
parentbd5ed22c58c1356f22fb69a8c392f650a0d89443
make dlopen honor the rpath of the main program

this seems to match what other systems do, and seems useful for
programs that have their libraries and plugins stored relative to the
executable.
src/ldso/dynlink.c