package/links: add --with/--without-zlib
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 20 Feb 2016 16:40:04 +0000 (17:40 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Feb 2016 13:52:48 +0000 (14:52 +0100)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/links/links.mk

index 4d2cb2e099d2056fec6ab336f9c241a2e2c5a6ac..8d7ecba0fa0c285822dd1250cf68f149b0683513 100644 (file)
@@ -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))