summaryrefslogtreecommitdiff
path: root/dist/ExtUtils-CBuilder
diff options
context:
space:
mode:
authorEric Brine <ikegami@adaelis.com>2012-10-01 19:30:04 -0700
committerSteve Hay <steve.m.hay@googlemail.com>2012-10-03 08:38:05 +0100
commit4ae07704fb5f7a6ea3c69cea3acf89e5c83ca53d (patch)
tree9ee226b310d355c2e9f7ff3013efe59d0fd57e34 /dist/ExtUtils-CBuilder
parentb5b0f9e8f734fa95ae8850dfa12eed44d86f69a6 (diff)
downloadperl-4ae07704fb5f7a6ea3c69cea3acf89e5c83ca53d.tar.gz
Allow a list of symbols to export to be passed to link() when on Windows, as on other OSes.
Diffstat (limited to 'dist/ExtUtils-CBuilder')
-rw-r--r--dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows.pm
index 20fabf7d9b..32bf482c0d 100644
--- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows.pm
+++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows.pm
@@ -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} );