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

New commits:
commit e7ac7ba7de64068f0264b71bc4d9ff182e278338
Author: Tor Lillqvist <t...@collabora.com>
Date:   Tue Nov 25 20:47:13 2014 +0200

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

diff --git a/sc/CppunitTest_sc_ucalc.mk b/sc/CppunitTest_sc_ucalc.mk
index ead35fa..86795e8 100644
--- a/sc/CppunitTest_sc_ucalc.mk
+++ b/sc/CppunitTest_sc_ucalc.mk
@@ -106,6 +106,12 @@ $(eval $(call gb_CppunitTest_use_components,sc_ucalc,\
     uui/util/uui \
 ))
 
+ifeq ($(OS),LINUX)
+$(eval $(call gb_CppunitTest_add_libs,sc_ucalc,\
+     -lrt \
+))
+endif
+
 $(eval $(call gb_CppunitTest_use_configuration,sc_ucalc))
 
 # vim: set noet sw=4 ts=4:
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to