diff options
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/pe.em | 2 | ||||
-rw-r--r-- | ld/emultempl/pep.em | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index ffa8b74..5cc933a 100644 --- a/ld/emultempl/pe.em +++ b/ld/emultempl/pe.em @@ -2347,6 +2347,8 @@ gld_${EMULATION_NAME}_open_dynamic_archive { "lib%s.a", FALSE }, /* The 'native' spelling of an import lib name is "foo.lib". */ { "%s.lib", FALSE }, + /* PR 22948 - Check for an import library. */ + { "lib%s.lib", FALSE }, #ifdef DLL_SUPPORT /* Try "<prefix>foo.dll" (preferred dll name, if specified). */ { "%s%s.dll", TRUE }, diff --git a/ld/emultempl/pep.em b/ld/emultempl/pep.em index cea210c..96942ec 100644 --- a/ld/emultempl/pep.em +++ b/ld/emultempl/pep.em @@ -2120,6 +2120,8 @@ gld_${EMULATION_NAME}_open_dynamic_archive { "lib%s.a", FALSE }, /* The 'native' spelling of an import lib name is "foo.lib". */ { "%s.lib", FALSE }, + /* PR 22948 - Check for an import library. */ + { "lib%s.lib", FALSE }, #ifdef DLL_SUPPORT /* Try "<prefix>foo.dll" (preferred dll name, if specified). */ { "%s%s.dll", TRUE }, |