aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/vms.em
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl/vms.em')
-rw-r--r--ld/emultempl/vms.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/vms.em b/ld/emultempl/vms.em
index 08650f5..b1f61d5 100644
--- a/ld/emultempl/vms.em
+++ b/ld/emultempl/vms.em
@@ -57,7 +57,7 @@ gld${EMULATION_NAME}_open_dynamic_archive (const char *arch ATTRIBUTE_UNUSED,
{
char *string;
- if (! entry->flags.maybe_archive)
+ if (! entry->flags.maybe_archive || entry->flags.full_name_provided)
return FALSE;
string = (char *) xmalloc (strlen (search->name)