libusb: fix clock_gettime librt dependency check
authorBaruch Siach <baruch@tkos.co.il>
Tue, 5 Jun 2018 11:42:10 +0000 (14:42 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 5 Jun 2018 16:49:09 +0000 (18:49 +0200)
commit231841fda196faa1bb987047ae7a0bf83a768ff4
tree8f25c24e3d56d58976e70e6645d612df2b26ba78
parentb8b78099f25696a8197d3be519a93ab35b45e301
libusb: fix clock_gettime librt dependency check

The detection of the librt dependency of clock_gettime in glibc before
2.17 is broken. We do not support glibc older than 2.17 for target, but
we still need to support hosts using old glibc. Add a patch fixing that.

Should fix (host-imx-usb-loader):
http://autobuild.buildroot.net/results/0a1/0a156449e5f38a6092ab9c88e3e3f5ea9abc0f03/
http://autobuild.buildroot.net/results/347/347f1b9bce2f0854e8ca6d49b9a9b3fa55de24b1/
http://autobuild.buildroot.net/results/f6a/f6a3a62909ccb500ca122ec3f03119d7706fb88a/

Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libusb/0001-configure.ac-fix-detection-of-clock_gettime-library.patch [new file with mode: 0644]
package/libusb/libusb.mk