summaryrefslogtreecommitdiff
path: root/desktop/Executable_oosplash.mk
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2011-09-18 11:27:45 -0400
committerPeter Foley <pefoley2@verizon.net>2011-09-18 16:49:37 -0400
commit38fd95ced1c68a4f4d8dbcee86bb808f8e918171 (patch)
tree4807e793febc20375b33adcbe1fe2c2cc43c25a3 /desktop/Executable_oosplash.mk
parent1e605745c151be5ba5ee7d9ca8be67e3a41217c4 (diff)
fix link failure on linux if not using libXinerama
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,\