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
613 B

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