libarchive: fix libarchive.pc
This commit is contained in:
parent
335a616f86
commit
64fcee4745
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user