summaryrefslogtreecommitdiff
path: root/sc/Module_sc.mk
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2021-05-19 12:16:42 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2021-12-03 06:46:24 +0100
commitfb308c193bc9f0d07ad2cccd5a0b239f86cbe442 (patch)
tree11cbb10810a968567b3c215efb353acb4ca23194 /sc/Module_sc.mk
parent6ac1e9e7f0be23b529992c268d2c563fe40fff76 (diff)
Fix --disable-scripting for DESKTOP build
Unfortunatly we cannot add --disable-scripting to sub_conf_defaults, because Java currently has no equivalent to the PYTHON_FOR_BUILD setting. Change-Id: I89938a17307a363f5de808200914940503312829 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126186 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'sc/Module_sc.mk')
-rw-r--r--sc/Module_sc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk
index 4a5d7055db29..e25367cfc146 100644
--- a/sc/Module_sc.mk
+++ b/sc/Module_sc.mk
@@ -37,6 +37,7 @@ $(eval $(call gb_Module_add_targets,sc,\
endif
ifneq ($(OS),iOS)
+ifneq ($(filter SCRIPTING,$(BUILD_TYPE)),)
$(eval $(call gb_Module_add_check_targets,sc,\
Library_scqahelper \
$(if $(and $(filter $(COM),MSC),$(MERGELIBS)),, \
@@ -58,6 +59,7 @@ $(eval $(call gb_Module_add_check_targets,sc,\
CppunitTest_sc_cache_test \
CppunitTest_sc_shapetest \
))
+endif
ifneq ($(DISABLE_GUI),TRUE)
ifeq ($(OS),LINUX)