Commit a4228893 authored by Baptiste Daroussin's avatar Baptiste Daroussin
Browse files

the number of shlibs in the elf hints can be 0 if ldconfig wasn't run a first...

the number of shlibs in the elf hints can be 0 if ldconfig wasn't run a first time and/or we are installing base

Reported by:	demon
parent dd1d29d8
......@@ -127,7 +127,8 @@ shlib_list_find_by_name(const char *shlib_file)
{
struct shlib_list *sl;
assert(HASH_COUNT(shlibs) != 0);
if (HASH_COUNT(shlibs) == 0)
return (NULL);
HASH_FIND_STR(rpath, shlib_file, sl);
if (sl != NULL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment