Don't set LD_RUN_PATH.
authorIain Patterson <me@iain.cx>
Wed, 24 Mar 2010 15:12:39 +0000 (15:12 +0000)
committerIain Patterson <me@iain.cx>
Wed, 24 Mar 2010 15:17:20 +0000 (15:17 +0000)
For starters it was cloning PATH when LD_LIBRARY_PATH would be more
appropriate.
More importantly it isn't needed most of the time.  Indeed I'm usually
unsetting it whenever I build stuff so that the run path doesn't leak
into compiled code.
Set it manually as and when appropriate.

.profile.d/PATH.bashrc

index a67a5ba..b27435a 100644 (file)
@@ -14,7 +14,6 @@ PATH:bindirs
 C_INCLUDE_PATH:incdirs
 CPLUS_INCLUDE_PATH:@C_INCLUDE_PATH
 LD_LIBRARY_PATH:libdirs
-LD_RUN_PATH:@PATH
 MANPATH:mandirs
 PKG_CONFIG_PATH:pkgdirs
 "