summaryrefslogtreecommitdiff
path: root/package/multimedia/gstreamer/gstreamer.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/multimedia/gstreamer/gstreamer.mk')
-rw-r--r--package/multimedia/gstreamer/gstreamer.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/package/multimedia/gstreamer/gstreamer.mk b/package/multimedia/gstreamer/gstreamer.mk
index 8b30209b7..821a23349 100644
--- a/package/multimedia/gstreamer/gstreamer.mk
+++ b/package/multimedia/gstreamer/gstreamer.mk
@@ -24,6 +24,14 @@ GSTREAMER_CONF_OPT = \
--disable-tests \
--disable-failing-tests
-GSTREAMER_DEPENDENCIES = libglib2 libxml2 host-pkgconfig
+GSTREAMER_DEPENDENCIES = libglib2 host-pkgconfig
+
+ifeq ($(BR2_PACKAGE_GSTREAMER_LIBXML2),y)
+GSTREAMER_DEPENDENCIES += libxml2
+else
+GSTREAMER_CONF_OPT += \
+ --disable-registry \
+ --disable-loadsave
+endif
$(eval $(call AUTOTARGETS,package/multimedia,gstreamer))