diff options
Diffstat (limited to 'elf/ldconfig.c')
-rw-r--r-- | elf/ldconfig.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/elf/ldconfig.c b/elf/ldconfig.c index d3c5355156..da221012fb 100644 --- a/elf/ldconfig.c +++ b/elf/ldconfig.c @@ -758,12 +758,8 @@ search_dir (const struct dir_entry *entry) error (0, 0, _("libraries %s and %s in directory %s have same soname but different type."), dlib_ptr->name, direntry->d_name, entry->path); } - /* OS version should be the same - sanity check. */ - if (dlib_ptr->osversion != osversion) - error (0, 0, _("libraries %s and %s in directory %s have same\n" - "soname but different minimal supported OS version."), - dlib_ptr->name, direntry->d_name, entry->path); free (dlib_ptr->name); + dlib_ptr->osversion = osversion; dlib_ptr->name = xstrdup (direntry->d_name); dlib_ptr->is_link = is_link; } |