summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-02-08 15:06:11 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-02-08 15:06:11 +0100
commit9728de1929812df84749c9fb044f6f584e044199 (patch)
tree947f8e9e2215619e7edad0491db894fe4cecf614 /extra
parentff6ce3999db93a52d1cd22510f8508b660ddf54e (diff)
Use executables RPATH/RUNPATH when searching for libraries.
Patch by Steve Ellcey <sellcey@imgtec.com> on uClibc mailinglist.
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 cec06e408..c7a3b2dd2 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -420,6 +420,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 RPATH/RUNPATH when searching for libraries."
+ depends on LDSO_RUNPATH
+ default n
+ help
+ Use the executables RPATH/RUNPATH 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