This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Allow a list of symbols to export to be passed to link() when on Windows, as on other...
[perl5.git] / dist / ExtUtils-CBuilder / lib / ExtUtils / CBuilder / Platform / Windows.pm
index 20fabf7..32bf482 100644 (file)
@@ -212,7 +212,8 @@ sub link {
 
   (my $def_base = $spec{def_file}) =~ tr/'"//d;
   $def_base =~ s/\.def$//;
-  $self->prelink( dl_name => $args{module_name},
+  $self->prelink( %args,
+                  dl_name => $args{module_name},
                   dl_file => $def_base,
                   dl_base => $spec{basename} );