package/distribution-registry: needs NPTL

distribution-registry calls pthread_getattr_np() which is only available
with NPTL; i.e. always available with glibc (where it originates from,
since 2.2.3), always available with musl (which has had it since 0.9.10
in 2013), and only available when uClibc has NPTL (since 1.0.0 in 2015).

Fixes: https://autobuild.buildroot.org/results/9395500a8baee6c6142f96d7bc97e81725c2e754/

Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Yann E. MORIN
2026-08-20 10:19:46 +02:00
committed by Julien Olivain
parent b088e5dbe4
commit d21a81ef8c

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_DISTRIBUTION_REGISTRY
bool "distribution-registry"
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_*_np()
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
help