You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2015/03/30 14:19:55 UTC
lucy-clownfish git commit: Improve check for Windows dlext
Repository: lucy-clownfish
Updated Branches:
refs/heads/master 9900140b3 -> ac2de384e
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/ac2de384
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/ac2de384
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/ac2de384
Branch: refs/heads/master
Commit: ac2de384eda638a8e3dd49d32764a634aa0ff44e
Parents: 9900140
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Mon Mar 30 14:18:03 2015 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Mon Mar 30 14:18:03 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/ac2de384/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 fc4ba86..f49c2e3 100644
--- a/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
@@ -148,7 +148,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;