summaryrefslogtreecommitdiff
path: root/svx/Executable_gengal.mk
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2014-12-22 19:10:59 +0100
committerMichael Stahl <mstahl@redhat.com>2015-02-07 00:01:41 +0000
commitb9a847b78ceaa3b5840429dab1bc50d35c7ef3de (patch)
tree1bcd505077a08a8f24362e35362a0fad54bc9684 /svx/Executable_gengal.mk
parent7ce1e0e1ecbb1b3ec5e3cc15306a9df7e786c564 (diff)
Fixup --without-x build
Accept gl linkage in hope of future offscreen mesa support. Avoid linking with GLX though. Change-Id: I4e666f60e74fe34075a8da9eeba95807cf8fe38c Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/13452 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'svx/Executable_gengal.mk')
-rw-r--r--svx/Executable_gengal.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/svx/Executable_gengal.mk b/svx/Executable_gengal.mk
index 17a57dc0f4c7..6e8bda1de304 100644
--- a/svx/Executable_gengal.mk
+++ b/svx/Executable_gengal.mk
@@ -61,6 +61,12 @@ $(eval $(call gb_Executable_use_system_win32_libs,gengal,\
))
endif
+ifeq ($(ENABLE_HEADLESS),TRUE)
+$(eval $(call gb_Executable_add_libs,gengal,\
+ -ldl \
+ -lpthread \
+))
+else
ifeq ($(OS),LINUX)
$(eval $(call gb_Executable_add_libs,gengal,\
-ldl \
@@ -74,5 +80,6 @@ $(eval $(call gb_Executable_use_static_libraries,gengal,\
glxtest \
))
endif
+endif
# vim: set noet sw=4 ts=4: