Fix Build without libusb
Submitted by: pointyhat
This commit is contained in:
parent
d0e91b562f
commit
e02aebb6fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298951
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,8 @@ USB_DESC= Support for USB-reader
|
|||
.if $(PORT_OPTIONS:MUSB)
|
||||
CONFIGURE_ENV+= LIBUSB_LIBS="-lusb"
|
||||
CONFIGURE_ARGS+=--enable-libusb=/usr
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-libusb
|
||||
.endif
|
||||
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue