package/links: add --with/--without-bzip2
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 20 Feb 2016 16:40:08 +0000 (17:40 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Feb 2016 13:53:04 +0000 (14:53 +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 581069ce020d6858974a8a0b255b256ab6f4125f..68da9e3ab2dac22a86a539e0cffa9e02b041d382 100644 (file)
@@ -36,7 +36,10 @@ endif
 endif
 
 ifeq ($(BR2_PACKAGE_BZIP2),y)
+LINKS_CONF_OPTS += --with-bzip2
 LINKS_DEPENDENCIES += bzip2
+else
+LINKS_CONF_OPTS += --without-bzip2
 endif
 
 ifeq ($(BR2_PACKAGE_LIBEVENT),y)