summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2012-02-10 17:28:49 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-02-17 16:44:56 +0000
commit2130deb2d13f7cbb5b5e55c061ad794e47e6999d (patch)
tree8d612af075ed67d74a69aa1294159ed7de18c21d /toolkit
parenta818fa05c34bb2e969e2fe1972d9a52774538beb (diff)
Introduce headless switch for X / cairo / toolkit less build
The plan is to reduce dependencies to be easier to deploy libreoffice server side in headless mode.
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/Library_tk.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolkit/Library_tk.mk b/toolkit/Library_tk.mk
index 5dee5a93a452..8dabc0dd0745 100644
--- a/toolkit/Library_tk.mk
+++ b/toolkit/Library_tk.mk
@@ -141,10 +141,12 @@ $(eval $(call gb_Library_add_cxxflags,tk,\
$(gb_OBJCXXFLAGS)))
endif
+ifneq ($(GUIBASE),headless)
ifneq (,$(filter LINUX DRAGONFLY OPENBSD FREEBSD NETBSD, $(OS)))
$(eval $(call gb_Library_add_linked_libs,tk,\
X11 \
))
endif
+endif
# vim: set noet sw=4 ts=4: