[Buildroot] [PATCH 1/1] xlib_libpthread-stubs: needs thread support
Jerzy Grzegorek
jerzy.grzegorek at trzebnica.net
Tue Oct 8 21:59:44 UTC 2013
Hi Thomas,
> Dear Jerzy Grzegorek,
>
> On Tue, 8 Oct 2013 23:27:17 +0200, Jerzy Grzegorek wrote:
>
>> config BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS
>> bool "libpthread-stubs"
>> + depends on BR2_TOOLCHAIN_HAS_THREADS
> No, that doesn't work. When you add a toolchain dependency to one
> package, you must propagate it to the reverse dependencies of this
> package that are selecting this package.
>
> For example, libdrm and libxcb are both selecting
> XLIB_LIBPTHREAD_STUBS, but they do not have the
> BR2_TOOLCHAIN_HAS_THREADS, so you should add this dependency to libdrm
> and libxcb as well.
Thanks for clarification.
Regards,
Jerzy
> Best regards,
>
> Thomas
More information about the buildroot
mailing list