mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/libpjsip: add sdl2 support
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
10684bbc90
commit
8330cfe5c5
@@ -33,7 +33,6 @@ LIBPJSIP_CONF_OPTS = \
|
||||
--disable-g711-codec \
|
||||
--disable-l16-codec \
|
||||
--disable-g722-codec \
|
||||
--disable-sdl \
|
||||
--disable-ffmpeg \
|
||||
--disable-ipp \
|
||||
--disable-silk \
|
||||
@@ -122,6 +121,13 @@ else
|
||||
LIBPJSIP_CONF_OPTS += --disable-opus
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SDL2),y)
|
||||
LIBPJSIP_DEPENDENCIES += sdl2
|
||||
LIBPJSIP_CONF_OPTS += --with-sdl=$(STAGING_DIR)/usr
|
||||
else
|
||||
LIBPJSIP_CONF_OPTS += --disable-sdl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yy)
|
||||
LIBPJSIP_CONF_OPTS += \
|
||||
--enable-speex-aec \
|
||||
|
||||
Reference in New Issue
Block a user