Fix packaging with --disable-curl

Change-Id: I9c3c1f1953c4d59c5a2d4c6017e73768d93a7bc7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159307
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
Mike Kaganski 2023-11-10 21:09:11 +03:00
parent 500def3076
commit cf53900ae8
2 changed files with 3 additions and 2 deletions

View file

@ -376,7 +376,7 @@ endif
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
avmedia \
LanguageTool \
$(if $(ENABLE_CURL),LanguageTool) \
$(call gb_Helper_optional,AVMEDIA, \
$(if $(filter MACOSX,$(OS)),\
avmediaMacAVF \

View file

@ -2737,9 +2737,10 @@ endef
else # !SYSTEM_CURL
$(if $(ENABLE_CURL),\
$(eval $(call gb_Helper_register_packages_for_install,ooo,\
curl \
))
)))
define gb_LinkTarget__use_curl
$(call gb_LinkTarget_use_package,$(1),curl)