From c890f71b95274302a608299fc46bbd061e9090fa Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Fri, 1 Aug 2014 11:19:46 +0000
Subject: [PATCH] package:grub2: fix build error on linux missing libzfs

configure enables libzfs support on default.
This will break the build, on systems without libzfs.

Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>

SVN-Revision: 41935
---
 package/boot/grub2/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/boot/grub2/Makefile b/package/boot/grub2/Makefile
index 83edfc614f..64a30589d0 100644
--- a/package/boot/grub2/Makefile
+++ b/package/boot/grub2/Makefile
@@ -48,12 +48,14 @@ CONFIGURE_ARGS += \
 	--disable-werror \
 	--disable-nls \
 	--disable-device-mapper \
+	--disable-libzfs \
 	--disable-grub-mkfont
 
 HOST_CONFIGURE_ARGS += \
 	--target=$(REAL_GNU_TARGET_NAME) \
 	--sbindir="$(STAGING_DIR_HOST)/bin" \
 	--disable-werror \
+	--disable-libzfs \
 	--disable-nls
 
 HOST_MAKE_FLAGS += \
-- 
GitLab