diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-25 20:26:48 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-25 20:26:48 +0200 |
commit | fc67c701373fe8c12126a5e63923ccb7b3c70fa2 (patch) | |
tree | 7884c8672e94256b6713447c06279176a2a35fc7 /sc | |
parent | 4ccf97ee849c94ea4d941f332dd3f93701d8abf7 (diff) |
Need -lrt for clock_gettime() with older glibc versions
Change-Id: Id134b05de3a81dd246baf8743c32fa8eb1e37935
Diffstat (limited to 'sc')
-rw-r--r-- | sc/Library_sc.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/Library_sc.mk b/sc/Library_sc.mk index e17b4ca3e94a..a3373b05d384 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)) |