summary refs log tree commit diff
path: root/elf/readlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/readlib.c')
-rw-r--r--elf/readlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/readlib.c b/elf/readlib.c
index 8e2b91c610..5ec5a546be 100644
--- a/elf/readlib.c
+++ b/elf/readlib.c
@@ -87,7 +87,7 @@ process_file (const char *file_name, const char *lib, int *flag,
   if (file == NULL)
     {
       /* No error for stale symlink.  */
-      if (is_link && strstr (file_name, ".so.") != NULL)
+      if (is_link && strstr (file_name, ".so") != NULL)
 	return 1;
       error (0, 0, _("Input file %s not found.\n"), file_name);
       return 1;