diff options
| author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-12-30 22:17:00 +0100 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-12-30 22:18:11 +0100 |
| commit | 97f6ba2e7bae5df8ae07b8062a5b80e044cedecb (patch) | |
| tree | d53c109d9994bc4e2584595dae7ce6c6175ff8b8 /package/hidapi/hidapi.mk | |
| parent | 26e1b249da4f041494f131dc9d1544419b50c87b (diff) | |
| download | buildroot-97f6ba2e7bae5df8ae07b8062a5b80e044cedecb.tar.gz buildroot-97f6ba2e7bae5df8ae07b8062a5b80e044cedecb.zip | |
hidapi: add libiconv handling
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>
Diffstat (limited to 'package/hidapi/hidapi.mk')
| -rw-r--r-- | package/hidapi/hidapi.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/hidapi/hidapi.mk b/package/hidapi/hidapi.mk index b16e4ae549..270836c6c1 100644 --- a/package/hidapi/hidapi.mk +++ b/package/hidapi/hidapi.mk @@ -16,4 +16,9 @@ HIDAPI_LICENSE_FILES = LICENSE.txt LICENSE-gpl3.txt LICENSE-bsd.txt LICENSE-orig HIDAPI_DEPENDENCIES = libusb libgudev +ifeq ($(BR2_PACKAGE_LIBICONV),y) +HIDAPI_DEPENDENCIES += libiconv +HIDAPI_CONF_ENV += LIBS="-liconv" +endif + $(eval $(autotools-package)) |

