diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-25 20:47:13 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-25 20:47:28 +0200 |
commit | e7ac7ba7de64068f0264b71bc4d9ff182e278338 (patch) | |
tree | 8d6a16eade36e947683f9ad81e4cabc4bc5a585e /sc | |
parent | 2e2a2daf660e84d85aa4aab18085b41da0476521 (diff) |
Need -lrt for clock_gettime() with older glibc versions
Change-Id: I6ccd990ba71867f0ff96ad06cf5a9e7c98c93657
Diffstat (limited to 'sc')
-rw-r--r-- | sc/CppunitTest_sc_ucalc.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/CppunitTest_sc_ucalc.mk b/sc/CppunitTest_sc_ucalc.mk index ead35fa2be83..86795e82850d 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: |