summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2022-01-27 08:17:54 +0000
committerMichael Weghorn <m.weghorn@posteo.de>2022-01-27 12:04:24 +0100
commit5801b9fc65508391e130670f79a9af51f18d4e96 (patch)
tree1462ee3619812f7dfb69473d17f138918826db5a /RepositoryExternal.mk
parent0101c7918bb735d796bc1bc0d1705f995e41ee98 (diff)
Fix gtk3_kde5 build when qt5/kf5 VCL plugins are not built
Since commit 894450d6ebbb2d5e063d72b971580d1b8c10a5e3 Author: Michael Weghorn <m.weghorn@posteo.de> Date: Tue Sep 28 08:36:44 2021 +0200 Unify how Qt/KF build flags/libs are set the qt5/kf5 externals are used to set includes and compiler/linker flags for the gtk3_kde5 VCL plugin as well. However, the relevant link targets were only actually defined as needed when building the qt5 and kf5 VCL plugins was enabled as well. Adapt that so that building the gtk3_kde5 VCL plugin but not the qt5 and kf5 ones also works again (e.g. '--enable-gtk3-kde5 --disable-qt5 --disable-kf5'). Change-Id: I65b75d7c2ccab71eade01aa2529fb45174056701 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129022 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index fc18d0562277..2962679864fd 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -2979,7 +2979,7 @@ endef # gb_LinkTarget__use_postgresql
endif # !SYSTEM_POSTGRESQL
-ifeq ($(ENABLE_KF5),TRUE)
+ifneq (,$(filter TRUE,$(ENABLE_KF5)$(ENABLE_GTK3_KDE5)))
define gb_LinkTarget__use_kf5
$(call gb_LinkTarget_set_include,$(1),\
@@ -3007,7 +3007,7 @@ endif # ENABLE_KF5
-ifeq ($(ENABLE_QT5),TRUE)
+ifneq (,$(filter TRUE,$(ENABLE_QT5)$(ENABLE_GTK3_KDE5)))
define gb_LinkTarget__use_qt5
$(call gb_LinkTarget_set_include,$(1),\