mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/skopeo: needs NPTL
So far, skopeo inherited the thread dependency from its runtime
dependencies. However, skopeo uses pthread_getattr_np(3), which
is only available with NPTL on uClibc. glibc and musl have had
it for ages (and only implement NPTL anyway).
Fixes: https://autobuild.buildroot.org/results/b9d123986c2a65427bfca32ee3ea792a988e6890/
Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit dab0feeae8)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
836753465c
commit
3d23d0a30a
@@ -4,7 +4,7 @@ config BR2_PACKAGE_SKOPEO
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
|
||||
depends on BR2_USE_MMU # btrfs-progs, libgpgme, lvm2
|
||||
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpgme
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # btrfs-progs, lvm2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on !BR2_STATIC_LIBS # lvm2
|
||||
select BR2_PACKAGE_HOST_GO
|
||||
select BR2_PACKAGE_BTRFS_PROGS
|
||||
@@ -17,10 +17,10 @@ config BR2_PACKAGE_SKOPEO
|
||||
|
||||
https://github.com/containers/skopeo
|
||||
|
||||
comment "skopeo needs a toolchain w/ threads, sahred libs"
|
||||
comment "skopeo needs a toolchain w/ NPTL, sahred libs"
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS \
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
|
||||
|| BR2_STATIC_LIBS
|
||||
|
||||
Reference in New Issue
Block a user