summaryrefslogtreecommitdiffstats
path: root/utils/ldd.c
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/ldd.c
parente32376aaed01ed44981386e348ac35b58da23495 (diff)
downloaduClibc-alpine-0c91a787b60e3a8804c1001724b039a0b80c7bb4.tar.bz2
uClibc-alpine-0c91a787b60e3a8804c1001724b039a0b80c7bb4.tar.xz
Look in /usr/X11R6/lib as well
Diffstat (limited to 'utils/ldd.c')
-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);