[Libreoffice-commits] core.git: sc/Library_sc.mk

Tor Lillqvist tml at collabora.com
Tue Nov 25 10:27:20 PST 2014


 sc/Library_sc.mk |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit fc67c701373fe8c12126a5e63923ccb7b3c70fa2
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Nov 25 20:26:48 2014 +0200

    Need -lrt for clock_gettime() with older glibc versions
    
    Change-Id: Id134b05de3a81dd246baf8743c32fa8eb1e37935

diff --git a/sc/Library_sc.mk b/sc/Library_sc.mk
index e17b4ca..a3373b0 100644
--- a/sc/Library_sc.mk
+++ b/sc/Library_sc.mk
@@ -676,6 +676,12 @@ $(eval $(call gb_Library_add_exception_objects,sc,\
     sc/source/core/opencl/op_spreadsheet \
 ))
 
+ifeq ($(OS),LINUX)
+$(eval $(call gb_Library_add_libs,sc,\
+    -lrt \
+))
+endif
+
 endif
 
 $(eval $(call gb_SdiTarget_SdiTarget,sc/sdi/scslots,sc/sdi/scalc))


More information about the Libreoffice-commits mailing list