summaryrefslogtreecommitdiff
path: root/desktop/Library_sofficeapp.mk
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/Library_sofficeapp.mk')
-rw-r--r--desktop/Library_sofficeapp.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/Library_sofficeapp.mk b/desktop/Library_sofficeapp.mk
index 7edad8ed78be..870a2dbfdc66 100644
--- a/desktop/Library_sofficeapp.mk
+++ b/desktop/Library_sofficeapp.mk
@@ -53,7 +53,9 @@ $(eval $(call gb_Library_use_libraries,sofficeapp,\
ucbhelper \
utl \
vcl \
- $(if $(ENABLE_HEADLESS),,vclplug_svp) \
+ $(if $(and $(filter unx,$(GUIBASE)),$(filter-out MACOSX,$(OS))), \
+ $(if $(ENABLE_HEADLESS),,vclplug_svp) \
+ ) \
$(gb_UWINAPI) \
))