diff options
author | Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> | 2012-02-10 17:28:49 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-02-17 16:44:56 +0000 |
commit | 2130deb2d13f7cbb5b5e55c061ad794e47e6999d (patch) | |
tree | 8d612af075ed67d74a69aa1294159ed7de18c21d /desktop | |
parent | a818fa05c34bb2e969e2fe1972d9a52774538beb (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 'desktop')
-rw-r--r-- | desktop/Executable_oosplash.mk | 2 | ||||
-rw-r--r-- | desktop/Module_desktop.mk | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/desktop/Executable_oosplash.mk b/desktop/Executable_oosplash.mk index 698b58a2da30..9273b84bc66c 100644 --- a/desktop/Executable_oosplash.mk +++ b/desktop/Executable_oosplash.mk @@ -58,11 +58,13 @@ $(eval $(call gb_Executable_add_libs,oosplash,\ endif +ifneq ($(GUIBASE),headless) ifeq ($(GUI),UNX) $(eval $(call gb_Executable_add_libs,oosplash,\ -lX11 \ )) endif +endif ifeq ($(ENABLE_QUICKSTART_LIBPNG),TRUE) diff --git a/desktop/Module_desktop.mk b/desktop/Module_desktop.mk index 705a282de915..d08ca59edf44 100644 --- a/desktop/Module_desktop.mk +++ b/desktop/Module_desktop.mk @@ -114,6 +114,13 @@ else ifeq ($(OS),ANDROID) else ifeq ($(OS),IOS) +else ifeq ($(GUIBASE),headless) + +$(eval $(call gb_Module_add_targets,desktop,\ + Executable_oosplash \ + Library_spl_unx \ +)) + else $(eval $(call gb_Module_add_targets,desktop,\ |