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.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/desktop/Executable_oosplash.mk b/desktop/Executable_oosplash.mk
index 3cf7baebad8e..63623cf3eb54 100644
--- a/desktop/Executable_oosplash.mk
+++ b/desktop/Executable_oosplash.mk
@@ -53,12 +53,17 @@ $(eval $(call gb_Executable_add_defs,oosplash,\
))
$(eval $(call gb_Executable_add_libs,oosplash,\
- -lX11 \
-lXinerama \
))
endif
+ifeq ($(GUI),UNX)
+$(eval $(call gb_Executable_add_libs,oosplash,\
+ -lX11 \
+))
+endif
+
ifeq ($(ENABLE_QUICKSTART_LIBPNG),TRUE)
$(eval $(call gb_Executable_add_defs,oosplash,\