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 4d2cb2e099..8d7ecba0fa 100644
--- a/package/links/links.mk
+++ b/package/links/links.mk
@@ -52,7 +52,10 @@ LINKS_DEPENDENCIES += xz
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
+LINKS_CONF_OPTS += --with-zlib
LINKS_DEPENDENCIES += zlib
+else
+LINKS_CONF_OPTS += --without-zlib
endif
$(eval $(autotools-package))
OpenPOWER on IntegriCloud