package/asterisk: add optional libgsm dependency
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
19b1c16e8c
commit
d068ccfd08
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user