From 5dba2f70396e0bd648c2b2509323671279bb782a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 10 Oct 2022 15:29:20 +0700 Subject: [PATCH] libarchive: zstd and lzma needs to link with pthread during bootstrap from glibc 2.32 to 2.36 --- srcpkgs/libarchive/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/libarchive/template b/srcpkgs/libarchive/template index 6b46500183b..653c33ab8a9 100644 --- a/srcpkgs/libarchive/template +++ b/srcpkgs/libarchive/template @@ -23,6 +23,10 @@ checksum=c676146577d989189940f1959d9e3980d28513d74eedfbc6b7f15ea45fe54ee2 build_options="acl expat lzo lz4 ssl zstd" build_options_default="acl ssl lz4 zstd" +pre_configure() { + export LIBS=-pthread +} + do_check() { case "$XBPS_TARGET_LIBC" in *musl)