summaryrefslogtreecommitdiff
path: root/ldso/util/ldconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/util/ldconfig.c')
-rw-r--r--ldso/util/ldconfig.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ldso/util/ldconfig.c b/ldso/util/ldconfig.c
index 5c041f8b8..55f79f773 100644
--- a/ldso/util/ldconfig.c
+++ b/ldso/util/ldconfig.c
@@ -684,10 +684,8 @@ int main(int argc, char **argv)
free(extpath);
}
- scan_dir(UCLIBC_INSTALL_DIR"/usr/lib");
- scan_dir(UCLIBC_INSTALL_DIR"/lib");
- scan_dir("/usr/lib");
- scan_dir("/lib");
+ scan_dir(UCLIBC_ROOT_DIR "/usr/lib");
+ scan_dir(UCLIBC_ROOT_DIR "/lib");
}
if (!nocache)