mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/libcgroup: needs threads
threads are mandatory since the addition of the package in commit and99ccdf671eresulting in the following build failure since commit9d58b525fcwhich enables build on uclibc and musl: In file included from config.c:30: ./libcgroup-internal.h:29:10: fatal error: pthread.h: No such file or directory 29 | #include <pthread.h> | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/87c4454aee97b6955f461651c41c4186a8838c4d Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit8649be9fa6) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
283825c22e
commit
82db018b93
@@ -1,6 +1,7 @@
|
|||||||
config BR2_PACKAGE_LIBCGROUP
|
config BR2_PACKAGE_LIBCGROUP
|
||||||
bool "libcgroup"
|
bool "libcgroup"
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
|
select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
|
||||||
help
|
help
|
||||||
libcgroup is a library that abstracts the control
|
libcgroup is a library that abstracts the control
|
||||||
@@ -17,5 +18,5 @@ config BR2_PACKAGE_LIBCGROUP_TOOLS
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "libcgroup needs a toolchain w/ C++"
|
comment "libcgroup needs a toolchain w/ C++, threads"
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
|||||||
Reference in New Issue
Block a user