Solution: Override the method libscan() and have it return an empty space if the file is a symlink.
package MY;
sub MY::libscan {
my $self = shift;
my $path = shift;
$path = $self->SUPER::libscan($path);
# I have a bunch of symlinks in the root. Ignore them.
return '' if -l $path;
return $path;
};
Having Makefile.PL ignore symlinks 0 Comments More | Login | Reply /