autofs: fix cross
This commit is contained in:
parent
5717abac85
commit
77541932ed
|
@ -3,8 +3,8 @@ pkgname=autofs
|
|||
version=5.1.5
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
conf_files="/etc/autofs/*"
|
||||
configure_args="--with-libtirpc --with-mapdir=/etc/autofs --sbindir=/usr/bin"
|
||||
conf_files="/etc/autofs/*"
|
||||
hostmakedepends="pkg-config flex kmod rpcgen"
|
||||
makedepends="libtirpc-devel libxml2-devel"
|
||||
short_desc="A kernel-based automounter for Linux"
|
||||
|
@ -19,7 +19,9 @@ CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/gssglue -I${XBPS_CROSS_BASE}/usr/includ
|
|||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) # sssd cannot be built for musl
|
||||
;;
|
||||
*) makedepends+=" sssd-devel"
|
||||
*) if [ -z "$CROSS_BUILD" ]; then
|
||||
makedepends+=" sssd-devel"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in New Issue