summaryrefslogtreecommitdiff
path: root/sc/CppunitTest_sc_macros_test.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sc/CppunitTest_sc_macros_test.mk')
-rw-r--r--sc/CppunitTest_sc_macros_test.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/CppunitTest_sc_macros_test.mk b/sc/CppunitTest_sc_macros_test.mk
index c55be35922a3..4794387c88a7 100644
--- a/sc/CppunitTest_sc_macros_test.mk
+++ b/sc/CppunitTest_sc_macros_test.mk
@@ -93,7 +93,7 @@ $(eval $(call gb_CppunitTest_use_components,sc_macros_test,\
sc/util/sc \
sc/util/scd \
sc/util/scfilt \
- $(if $(filter TRUE,$(DISABLE_SCRIPTING)),, \
+ $(call gb_Helper_optional,SCRIPTING, \
sc/util/vbaobj) \
sfx2/util/sfx \
sot/util/sot \