Subject: | Makefile FAIL's to detect 64bit libs |
--8<--- Makefile.PL.diff
--- Makefile.PL.org 2010-03-15 11:53:43.000000000 +0100
+++ Makefile.PL 2010-03-15 11:54:29.000000000 +0100
@@ -78,7 +78,7 @@ sub header_found
sub lib_found
{
- foreach my $dir (qw(/usr/lib /usr/local/lib), $ENV{LIBUSB_LIBDIR})
+ foreach my $dir (qw(/usr/local/lib64 /usr/lib64 /lib64 /usr/local/
lib /usr/lib), $ENV{LIBUSB_LIBDIR})
{
return 1 if defined $dir && ($^O =~ /win/i ? (-e "$dir/
libusb.lib" || -e "$dir/libusb.a") : -e "$dir/libusb.so") ;
}
-->8---