Skip to content

Commit

Permalink
Work around EU::Liblist::Kid not working with "-L" flags on Cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Apr 19, 2015
1 parent ecb2008 commit 668bd37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inc/Alien/Proj4.pm
Expand Up @@ -53,7 +53,8 @@ sub libdir {
sub libflags {
my ($class) = @_;
my $lib_path = $class->libdir;
my $libflags = qq{"-L$lib_path" -lproj -lm};
$lib_path = qq{"$lib_path"} if $lib_path =~ /\s/; # conditional as EU::Liblist::Kid doesn't understand this on Cygwin
my $libflags = qq{-L$lib_path -lproj -lm};
$libflags;
}

Expand Down

0 comments on commit 668bd37

Please sign in to comment.