Fix Build without libusb

Submitted by:	pointyhat
This commit is contained in:
Tilman Keskinoz 2012-06-10 16:12:40 +00:00
parent d0e91b562f
commit e02aebb6fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298951

View file

@ -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