summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/grub2/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/grub2/Makefile b/package/grub2/Makefile
index 2a2244a7d..b606f54be 100644
--- a/package/grub2/Makefile
+++ b/package/grub2/Makefile
@@ -39,7 +39,8 @@ HOST_CONFIGURE_ARGS += \
--disable-nls
HOST_MAKE_FLAGS += \
- TARGET_RANLIB=$(TARGET_RANLIB)
+ TARGET_RANLIB=$(TARGET_RANLIB) \
+ LIBLZMA=$(STAGING_DIR_HOST)/lib/liblzma.a
define Host/Configure
$(SED) 's,(RANLIB),(TARGET_RANLIB),' $(HOST_BUILD_DIR)/grub-core/Makefile.in