libarchive: fix libarchive.pc

This commit is contained in:
Duncaen 2022-12-22 14:24:24 +01:00
parent 335a616f86
commit 64fcee4745
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35

View File

@ -1,7 +1,7 @@
# Template file for 'libarchive'
pkgname=libarchive
version=3.6.2
revision=1
revision=2
bootstrap=yes
build_style=gnu-configure
configure_args="$(vopt_enable acl) $(vopt_enable acl xattr)
@ -23,6 +23,11 @@ checksum=ba6d02f15ba04aba9c23fd5f236bb234eab9d5209e95d1c4df85c44d5f19b9b3
build_options="acl expat lzo lz4 ssl zstd"
build_options_default="acl ssl lz4 zstd"
post_extract() {
# remove iconv from libarchive.pc requirements.
vsed -e '/LIBSREQUIRED.*iconv/d' -i configure
}
pre_configure() {
export LIBS=-pthread
}