diff --git a/package/libnice/libnice.mk b/package/libnice/libnice.mk index 8cbf003529..8292250938 100644 --- a/package/libnice/libnice.mk +++ b/package/libnice/libnice.mk @@ -22,6 +22,13 @@ LIBNICE_CONF_OPTS += \ LIBNICE_DEPENDENCIES += openssl endif +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBNICE_CONF_OPTS += --enable-introspection +LIBNICE_DEPENDENCIES += gobject-introspection +else +LIBNICE_CONF_OPTS += --disable-introspection +endif + ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y) LIBNICE_CONF_OPTS += --with-gstreamer LIBNICE_DEPENDENCIES += gst1-plugins-base