Repository: lucy-clownfish Updated Branches: refs/heads/0.4 f864af42a -> 6e16fc642
Improve check for Windows dlext Strawberry Perl 5.20 uses `xs.dll` which broke the Lucy build. Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/6e16fc64 Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/6e16fc64 Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/6e16fc64 Branch: refs/heads/0.4 Commit: 6e16fc642830338beed22e9b1976e0585075f950 Parents: f864af4 Author: Nick Wellnhofer <[email protected]> Authored: Mon Mar 30 14:18:03 2015 +0200 Committer: Nick Wellnhofer <[email protected]> Committed: Mon Mar 30 14:20:16 2015 +0200 ---------------------------------------------------------------------- compiler/perl/lib/Clownfish/CFC/Perl/Build.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6e16fc64/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm ---------------------------------------------------------------------- diff --git a/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm b/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm index 3f3cbec..b266f87 100644 --- a/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm +++ b/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm @@ -149,7 +149,7 @@ sub cf_linker_flags { my $dlext = $Config{dlext}; # Only needed on Windows - return () if $dlext ne 'dll'; + return () if $dlext !~ /dll$/i; # Link against import library on MSVC my $ext = $Config{cc} =~ /^cl\b/ ? 'lib' : $dlext;
