Skip to content
Snippets Groups Projects
Commit 1dcf00cb authored by Timo Teräs's avatar Timo Teräs
Browse files

main/util-linux: fix cross building

parent f2891b76
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,8 @@ subpackages="$pkgname-doc $pkgname-dev $pkgname-bash-completion:bashcomp
if [ -z "$BOOTSTRAP" ]; then
makedepends_host="$makedepends_host ncurses-dev python-dev"
subpackages="$subpackages py-libmount:_py"
else
_bootstrap_config="--without-python"
fi
makedepends="$makedepends_build $makedepends_host"
replaces="e2fsprogs util-linux-ng"
......@@ -55,6 +57,7 @@ build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--with-sysroot=$CBUILDROOT \
--prefix=/usr \
--enable-raw \
--with-ncurses \
......@@ -66,6 +69,7 @@ build() {
--disable-last \
--disable-sulogin \
--disable-su \
$_bootstrap_config \
|| return 1
make || return 1
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment