libarchive: fix native build.
This commit is contained in:
parent
c883f726e4
commit
62fd9756e7
|
@ -13,15 +13,18 @@ license="BSD"
|
|||
distfiles="https://github.com/downloads/libarchive/libarchive/libarchive-$version.tar.gz"
|
||||
checksum=76e8d7c7b100ec4071e48c1b7d3f3ea1d22b39db3e45b7189f75b5ff4df90fac
|
||||
|
||||
crossmakedepends="zlib-devel bzip2-devel acl-devel openssl-devel liblzma-devel expat-devel"
|
||||
|
||||
if [ -n "${XBPS_CROSS_TRIPLET}" ]; then
|
||||
makedepends="automake perl"
|
||||
fi
|
||||
crossmakedepends="zlib-devel bzip2-devel acl-devel openssl-devel liblzma-devel expat-devel"
|
||||
|
||||
pre_configure() {
|
||||
./build/autogen.sh
|
||||
}
|
||||
|
||||
pre_build() {
|
||||
# XXX remove las for now.
|
||||
rm -f /usr/${XBPS_CROSS_TRIPLET}/lib/*.la
|
||||
}
|
||||
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue