Add output_type to bfd_link_info
[deliverable/binutils-gdb.git] / ld / emultempl / irix.em
index 2969f9b6927b24c0ec3fe71e423d99988804035f..963dadbf97b444316524740161439770a7626c02 100644 (file)
@@ -32,7 +32,7 @@ fragment <<EOF
 static void
 irix_after_open (void)
 {
-  if (link_info.shared && command_line.soname == 0)
+  if (bfd_link_dll (&link_info) && command_line.soname == 0)
     command_line.soname
       = (char *) lbasename (bfd_get_filename (link_info.output_bfd));
 
This page took 0.025662 seconds and 4 git commands to generate.