summaryrefslogtreecommitdiff
path: root/sw/CppunitTest_sw_odfimport.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sw/CppunitTest_sw_odfimport.mk')
-rw-r--r--sw/CppunitTest_sw_odfimport.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/CppunitTest_sw_odfimport.mk b/sw/CppunitTest_sw_odfimport.mk
index ecaf98bf5d83..ee565568b431 100644
--- a/sw/CppunitTest_sw_odfimport.mk
+++ b/sw/CppunitTest_sw_odfimport.mk
@@ -75,7 +75,9 @@ $(eval $(call gb_CppunitTest_use_components,sw_odfimport,\
unoxml/source/service/unoxml \
uui/util/uui \
$(if $(filter-out MACOSX WNT,$(OS)), \
- vcl/vcl.unx \
+ $(if $(filter-out TRUE,$(ENABLE_HEADLESS)), \
+ vcl/vcl.unx \
+ ) \
) \
$(if $(filter DESKTOP,$(BUILD_TYPE)),xmlhelp/util/ucpchelp1) \
xmloff/util/xo \