mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-25 19:40:35 -09:00
package/libks: needs NPTL
libks needs NPTL since its addition in commit5752d18bfc: /nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0/src/ks_thread.c: In function 'thread_launch': /nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0/src/ks_thread.c:237:21: error: 'pthread_setname_np' undeclared (first use in this function); did you mean 'pthread_setcanceltype'? 237 | if (thread->tag && pthread_setname_np) | ^~~~~~~~~~~~~~~~~~ | pthread_setcanceltype Fixes: - http://autobuild.buildroot.org/results/8a93b75ee51e005383eac17aa7577b43eda4cd92 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit91600a62af) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
30155bcc44
commit
c4d5b7b6c7
@@ -2,7 +2,7 @@ config BR2_PACKAGE_LIBKS
|
||||
bool "libks"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_STATIC_LIBS # dlfcn.h
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np()
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_UTIL_LINUX
|
||||
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
||||
@@ -11,6 +11,6 @@ config BR2_PACKAGE_LIBKS
|
||||
|
||||
https://github.com/signalwire/libks
|
||||
|
||||
comment "libks needs a toolchain w/ C++, threads, dynamic library"
|
||||
comment "libks needs a toolchain w/ C++, NPTL, dynamic library"
|
||||
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \
|
||||
|| !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|| !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
|
||||
Reference in New Issue
Block a user