diff core/lvm2/lvm2.sh @ 129:f55c9ef41a9a

vanilla: multiple fixes
author David Demelier <markand@malikania.fr>
date Sun, 10 Mar 2019 16:16:54 +0100
parents 11b453a08c70
children e737b80da269
line wrap: on
line diff
--- a/core/lvm2/lvm2.sh	Sun Mar 10 15:47:44 2019 +0100
+++ b/core/lvm2/lvm2.sh	Sun Mar 10 16:16:54 2019 +0100
@@ -28,24 +28,19 @@
 tar xvaf LVM2.$PKGVERSION.tgz
 pushd LVM2.$PKGVERSION
 
-if [ "$NLS" = "yes" ]; then
-	with_nls="--enable-nls"
-else
-	with_nls="--disable-nls"
-fi
-
 patch -p0 < ../musl.patch
 CC="$CC" \
 CFLAGS="$CFLAGS" \
+LIBS="$LIBS" \
 ./configure \
 	--build=$CBUILD \
 	--host=$CHOST \
 	--prefix=/usr \
 	--disable-readline \
+	--disable-nls \
 	--enable-pkgconfig \
 	--enable-udev_rules \
-	--enable-udev_sync \
-	${with_nls}
+	--enable-udev_sync
 make
 make install DESTDIR=$DESTDIR