Disable avmedia/util/avmedia component without GUI

Regression from commit f9e79a91f1
("Fix --disable-avmedia for DESKTOP build").

Change-Id: Iac995b1e02463adfcd56761eeb822bd3a367ddde
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126184
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
This commit is contained in:
Jan-Marek Glogowski 2021-12-01 17:07:28 +01:00
parent df9e8c1553
commit b9c106d491

View file

@ -13,7 +13,7 @@ $(eval $(call gb_Rdb_Rdb_install,services))
# "minimal" list of services for cross-compiling build tools
#
$(eval $(call gb_Rdb_add_components,services,\
$(call gb_Helper_optional,AVMEDIA,avmedia/util/avmedia) \
$(if $(DISABLE_GUI),,$(call gb_Helper_optional,AVMEDIA,avmedia/util/avmedia)) \
$(call gb_Helper_optional,SCRIPTING,basic/util/sb) \
canvas/source/factory/canvasfactory \
canvas/source/simplecanvas/simplecanvas \