From cf53900ae8f25529a001602d56fd2f08b6bdde3a Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Fri, 10 Nov 2023 21:09:11 +0300 Subject: [PATCH] Fix packaging with --disable-curl Change-Id: I9c3c1f1953c4d59c5a2d4c6017e73768d93a7bc7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159307 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- Repository.mk | 2 +- RepositoryExternal.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Repository.mk b/Repository.mk index 72a88d3e8429..b9cf9c2ddb9c 100644 --- a/Repository.mk +++ b/Repository.mk @@ -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 \ diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 0eddf400a77c..46b1c1bb70ed 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -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)