Subject: | v0.002 does not handle correctly $Config{dlext} = 'xs.dll' |
The latest strawberry perl uses $Config{dlext} = 'xs.dll' which unfortunately does not work correctly with DynaLoader-Functions-0.002
Please consider enclosed patch.
--
kmx
Please consider enclosed patch.
--
kmx
Subject: | Functions.pm.patch |
--- Functions.pm.orig 2013-08-17 15:50:35.000000000 +0200
+++ Functions.pm 2014-06-03 09:41:40.329775100 +0200
@@ -156,7 +156,7 @@
my $linkable_finder = {
MSWin32 => sub {
- if((my $basename = $_[0]) =~ s/\.[Dd][Ll][Ll]\z//) {
+ if((my $basename = $_[0]) =~ s/\.\Q$Config::Config{dlext}\E\z//i) {
foreach my $suffix (qw(.lib .a)) {
my $impname = $basename.$suffix;
return ($impname) if -e $impname;