summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/links/links.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/links/links.mk b/package/links/links.mk
index 8d7ecba0fa..3515e5fe9a 100644
--- a/package/links/links.mk
+++ b/package/links/links.mk
@@ -48,7 +48,10 @@ LINKS_DEPENDENCIES += openssl
endif
ifeq ($(BR2_PACKAGE_XZ),y)
+LINKS_CONF_OPTS += --with-lzma
LINKS_DEPENDENCIES += xz
+else
+LINKS_CONF_OPTS += --without-lzma
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
OpenPOWER on IntegriCloud