From: Yann E. MORIN Date: Sat, 9 Sep 2017 21:39:10 +0000 (+0200) Subject: package/asterisk: add optional zlib dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13fcc16db76d3c40911a3426cf6e8e729e077fa5;p=buildroot.git package/asterisk: add optional zlib dependency Signed-off-by: "Yann E. MORIN" Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk index 573315ce0c..a3a3703380 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -114,7 +114,6 @@ ASTERISK_CONF_OPTS = \ --without-vorbis \ --without-vpb \ --without-x11 \ - --without-z \ --with-crypt \ --with-jansson \ --with-libcurl \ @@ -146,6 +145,13 @@ else ASTERISK_CONF_OPTS += --without-gsm endif +ifeq ($(BR2_PACKAGE_ZLIB),y) +ASTERISK_DEPENDENCIES += zlib +ASTERISK_CONF_OPTS += --with-z +else +ASTERISK_CONF_OPTS += --without-z +endif + ASTERISK_DIRS = \ ASTVARLIBDIR="/usr/lib/asterisk" \ ASTDATADIR="/usr/lib/asterisk" \