Allow a list of symbols to export to be passed to link() when on Windows, as on other...
authorEric Brine <ikegami@adaelis.com>
Tue, 2 Oct 2012 02:30:04 +0000 (19:30 -0700)
committerSteve Hay <steve.m.hay@googlemail.com>
Wed, 3 Oct 2012 07:38:05 +0000 (08:38 +0100)
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} );