mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/libpjsip: add optional dependency on libgsm
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 94e7a91092)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
296d6c5509
commit
a90e0671e3
@@ -26,7 +26,6 @@ LIBPJSIP_CONF_ENV = \
|
|||||||
|
|
||||||
LIBPJSIP_CONF_OPTS = \
|
LIBPJSIP_CONF_OPTS = \
|
||||||
--disable-sound \
|
--disable-sound \
|
||||||
--disable-gsm-codec \
|
|
||||||
--disable-resample \
|
--disable-resample \
|
||||||
--disable-video \
|
--disable-video \
|
||||||
--disable-opencore-amr \
|
--disable-opencore-amr \
|
||||||
@@ -54,6 +53,16 @@ LIBPJSIP_CONF_OPTS = \
|
|||||||
# so we want to use it.
|
# so we want to use it.
|
||||||
LIBPJSIP_CONF_OPTS += --enable-epoll
|
LIBPJSIP_CONF_OPTS += --enable-epoll
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBGSM),y)
|
||||||
|
LIBPJSIP_CONF_OPTS += \
|
||||||
|
--enable-gsm-codec \
|
||||||
|
--with-external-gsm
|
||||||
|
LIBPJSIP_DEPENDENCIES += libgsm
|
||||||
|
else
|
||||||
|
LIBPJSIP_CONF_OPTS += \
|
||||||
|
--disable-gsm-codec
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
|
ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
|
||||||
LIBPJSIP_DEPENDENCIES += libopenssl
|
LIBPJSIP_DEPENDENCIES += libopenssl
|
||||||
LIBPJSIP_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr
|
LIBPJSIP_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr
|
||||||
|
|||||||
Reference in New Issue
Block a user