Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
--disable-g722-codec \
--disable-sdl \
--disable-ffmpeg \
- --disable-openh264 \
--disable-ipp \
--disable-silk \
--with-external-srtp
--disable-gsm-codec
endif
+ifeq ($(BR2_PACKAGE_LIBOPENH264),y)
+LIBPJSIP_DEPENDENCIES += libopenh264
+LIBPJSIP_CONF_OPTS += --with-openh264=$(STAGING_DIR)/usr
+else
+LIBPJSIP_CONF_OPTS += --disable-openh264
+endif
+
ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
LIBPJSIP_DEPENDENCIES += libopenssl
LIBPJSIP_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr