summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-18 11:17:14 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-18 11:17:14 +0000
commit0c91a787b60e3a8804c1001724b039a0b80c7bb4 (patch)
tree631cac9fbc9da889ad6015dfbecd14a340742306 /utils
parente32376aaed01ed44981386e348ac35b58da23495 (diff)
Look in /usr/X11R6/lib as well
Diffstat (limited to 'utils')
-rw-r--r--utils/ldd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/ldd.c b/utils/ldd.c
index 777a99382..977ce8b2c 100644
--- a/utils/ldd.c
+++ b/utils/ldd.c
@@ -341,6 +341,7 @@ void locate_library_file(Elf32_Ehdr* ehdr, Elf32_Dyn* dynamic, int is_suid, stru
path = UCLIBC_RUNTIME_PREFIX "usr/X11R6/lib:"
UCLIBC_RUNTIME_PREFIX "usr/lib:"
UCLIBC_RUNTIME_PREFIX "lib:"
+ "/usr/X11R6/lib:"
"/usr/lib:"
"/lib";
search_for_named_library(lib->name, buf, path);