97f6ba2e7b
hidapi uses iconv functions, which on uClibc without locale support is provided by the external libiconv library. This commit adds the necessary libiconv handling to make the hidapi package build on !locale toolchains. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
17 lines
568 B
Plaintext
17 lines
568 B
Plaintext
config BR2_PACKAGE_HIDAPI
|
|
bool "hidapi"
|
|
depends on BR2_PACKAGE_HAS_UDEV
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
|
select BR2_PACKAGE_LIBUSB
|
|
select BR2_PACKAGE_LIBGUDEV
|
|
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
|
help
|
|
HIDAPI is a multi-platform library which allows an application
|
|
to interface with USB and Bluetooth HID-Class devices on
|
|
Windows, Linux, and Mac OS X.
|
|
|
|
http://www.signal11.us/oss/hidapi/
|
|
|
|
comment "hidapi needs udev /dev management and a toolchain w/ threads"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_HAS_UDEV
|