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)