Skip to content

Commit

Permalink
Update PLplot.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
zmughal committed Sep 27, 2021
1 parent 17b4406 commit af6d87b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Alien/PLplot.pm
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ sub _fix_libs_flags {
my ($class, $libs_flags) = @_;
if( $class->install_type('share') ) {
my $lib_dir = File::Spec->catfile( $class->dist_dir, 'lib' );
$lib_dir =~ s,\\,/,g if $^O eq 'MSWin32';
$libs_flags =~ s/(^|\s)-Llib\b/$1-L$lib_dir/g;
}
return $libs_flags;
Expand Down

0 comments on commit af6d87b

Please sign in to comment.