summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@imgtec.com>2015-02-19 16:03:26 -0800
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-02-20 15:41:13 +0100
commit409f14d9b5e47513d5c939120a33965997c8ceb2 (patch)
treeaf01e95643153b7632712b099057a07f2b61faf5 /extra
parent30a92760abebf268c255aa8a15c35ca0c865fe88 (diff)
Allow use of executable RUNPATH/RPATH when finding libraries.
This option will modify ldso so that it will use the executables RUNPATH/RPATH to find to find libraries even though this behavour is not standard. Setting this option causes the uclibc dynamic linker behavour to match the glibc dynamic linker. Signed-off-by: Steve Ellcey <sellcey@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 84659650b..f5210cdf9 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -419,6 +419,15 @@ config LDSO_RUNPATH
Usage of RUNPATH tags is not too common, so disabling this feature
should be safe for most people.
+config LDSO_RUNPATH_OF_EXECUTABLE
+ bool "Use executables RUNPATH/RPATH when searching for libraries."
+ depends on LDSO_RUNPATH
+ default n
+ help
+ Use the executables RUNPATH/RPATH to find to find libraries even
+ though this behavour is not standard. Setting this option causes
+ the uclibc dynamic linker behavour to match the glibc dynamic linker.
+
config LDSO_SAFE_RUNPATH
bool "Allow only RUNPATH beginning with /"
depends on LDSO_RUNPATH