You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
618 B

  1. --- a/lib/Device/USB.pm
  2. +++ b/lib/Device/USB.pm
  3. @@ -9,8 +9,8 @@ use Inline (
  4. C => "DATA",
  5. ($ENV{LIBUSB_LIBDIR}
  6. ? ( LIBS => "-L\"$ENV{LIBUSB_LIBDIR}\" " .
  7. - ($^O eq 'MSWin32' ? ' -llibusb -L\"$ENV{WINDDK}\\lib\\crt\\i386\" -lmsvcrt ' : '-lusb') )
  8. - : ( LIBS => '-lusb', )
  9. + ($^O eq 'MSWin32' ? ' -llibusb -L\"$ENV{WINDDK}\\lib\\crt\\i386\" -lmsvcrt ' : '-lusb-0.1') )
  10. + : ( LIBS => '-lusb-0.1', )
  11. ),
  12. ($ENV{LIBUSB_INCDIR} ? ( INC => "-I\"$ENV{LIBUSB_INCDIR}\"" ) : () ),
  13. NAME => 'Device::USB',