[Buildroot] [PATCH] pcsc-lite: add patch to fix libusb detection
Peter Korsgaard
jacmet at uclibc.org
Thu Feb 27 13:31:56 UTC 2014
>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin at gmail.com> writes:
> When libusb support is requested in pcsc-lite, the configure script will try
> to link a test application to check libusb_init(). However, when libusb
> needs threads, the linking step should link in threads as well.
> The configure script, first tries to call libusb-config to determine the
> necessary cflags and libraries (which should include the thread flags), but
> this program does not exist, so the cflags/libs variables are empty.
> Therefore, add a patch to explicitly add PTHREAD_CFLAGS and PTHREAD_LIBS to
> the libusb test, so libusb is detected correctly.
> Fixes
> http://autobuild.buildroot.org/results/432/432be0db3f8415f6a026b69234579ad4d23b6421/
This is only an issue for static linking, so I slightly reworded the
commit message to make that clear and committed, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list