summaryrefslogtreecommitdiffstats
path: root/sw/CppunitTest_sw_uiwriter.mk
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2014-11-05 17:52:53 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-07 11:45:51 +0000
commit05cccc5a46d0e95345e7bf201adf64bccdff5451 (patch)
tree2daa65be26d0cd1f8c8bdf14544dbb7aa16d5553 /sw/CppunitTest_sw_uiwriter.mk
parentMake these tests weaker to fix build. (diff)
downloadcore-05cccc5a46d0e95345e7bf201adf64bccdff5451.tar.gz
core-05cccc5a46d0e95345e7bf201adf64bccdff5451.zip
Fixup headless build
Don't require vcl.unx component on headless build Change-Id: I33c3d90b67dd4ef3fc52ae2555b41ca2deb191de Reviewed-on: https://gerrit.libreoffice.org/12267 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw/CppunitTest_sw_uiwriter.mk')
-rw-r--r--sw/CppunitTest_sw_uiwriter.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/CppunitTest_sw_uiwriter.mk b/sw/CppunitTest_sw_uiwriter.mk
index 7e3e3e8ae715..a5c9db081df6 100644
--- a/sw/CppunitTest_sw_uiwriter.mk
+++ b/sw/CppunitTest_sw_uiwriter.mk
@@ -80,7 +80,9 @@ $(eval $(call gb_CppunitTest_use_components,sw_uiwriter,\
unoxml/source/service/unoxml \
uui/util/uui \
$(if $(filter-out MACOSX WNT,$(OS)), \
- vcl/vcl.unx \
+ $(if $(ENABLE_HEADLESS),, \
+ vcl/vcl.unx \
+ ) \
) \
$(if $(filter DESKTOP,$(BUILD_TYPE)),xmlhelp/util/ucpchelp1) \
writerfilter/util/writerfilter \