From 8e6e5b559af1ea6077d6f21018aa84f5736f6dde Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 9 Apr 2013 00:10:09 +0200 Subject: [PATCH] util-linux: fix cross build. --- srcpkgs/util-linux/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/util-linux/template b/srcpkgs/util-linux/template index 9618ca05a58..a0055f1a47b 100644 --- a/srcpkgs/util-linux/template +++ b/srcpkgs/util-linux/template @@ -29,8 +29,8 @@ conf_files=" /etc/pam.d/su-l /etc/pam.d/login" -if [ "$XBPS_CROSS_BUILD" ]; then - hostmakedepends="automake gettext-devel pkg-config" +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" libtool automake gettext-devel" pre_configure() { ./autogen.sh }