summaryrefslogtreecommitdiff
path: root/desktop/Executable_oosplash.mk
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/Executable_oosplash.mk')
-rw-r--r--desktop/Executable_oosplash.mk10
1 files changed, 2 insertions, 8 deletions
diff --git a/desktop/Executable_oosplash.mk b/desktop/Executable_oosplash.mk
index a14acd626b74..2808e0113510 100644
--- a/desktop/Executable_oosplash.mk
+++ b/desktop/Executable_oosplash.mk
@@ -18,21 +18,15 @@ $(eval $(call gb_Executable_use_libraries,oosplash,\
$(eval $(call gb_Executable_add_cobjects,oosplash,\
desktop/unx/source/args \
desktop/unx/source/file_image_unx \
- desktop/unx/source/pagein \
+ $(if $(ENABLE_PAGEIN),desktop/unx/source/pagein) \
desktop/unx/source/splashx \
desktop/unx/source/start \
))
-ifneq ($(USE_XINERAMA),)
-
-$(eval $(call gb_Executable_add_defs,oosplash,\
- -DUSE_XINERAMA \
-))
-
+ifneq ($(USING_X11),)
$(eval $(call gb_Executable_add_libs,oosplash,\
-lXinerama \
))
-
endif
ifneq ($(DISABLE_GUI),TRUE)