From d068ccfd08b573190c97a6949a27760201a5817b Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 9 Sep 2017 23:39:09 +0200 Subject: [PATCH] package/asterisk: add optional libgsm dependency Signed-off-by: "Yann E. MORIN" Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk index 65f80626be..573315ce0c 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -55,7 +55,6 @@ ASTERISK_CONF_OPTS = \ --without-cpg \ --without-curses \ --without-dahdi \ - --without-gsm \ --without-gtk2 \ --without-gmime \ --without-h323 \ @@ -140,6 +139,13 @@ else ASTERISK_CONF_OPTS += --without-execinfo endif +ifeq ($(BR2_PACKAGE_LIBGSM),y) +ASTERISK_DEPENDENCIES += libgsm +ASTERISK_CONF_OPTS += --with-gsm +else +ASTERISK_CONF_OPTS += --without-gsm +endif + ASTERISK_DIRS = \ ASTVARLIBDIR="/usr/lib/asterisk" \ ASTDATADIR="/usr/lib/asterisk" \ -- 2.30.2