diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-10-29 17:11:47 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-10-29 17:11:47 +0200 |
commit | 66884ac67e248c24b3872bb6ff316ae35c7c1aba (patch) | |
tree | a5c78ae88521288329504d8454c02fc844cc31ee /sc | |
parent | 28561633d82df4f7909b6d8211d4bff2912f1bd6 (diff) |
Need -ldl on Linux now
Change-Id: I3a207f86611a5078cd2de1437cd48e612232aaf2
Diffstat (limited to 'sc')
-rw-r--r-- | sc/CppunitTest_sc_opencl_test.mk | 7 | ||||
-rw-r--r-- | sc/CppunitTest_sc_ucalc.mk | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/sc/CppunitTest_sc_opencl_test.mk b/sc/CppunitTest_sc_opencl_test.mk index 16ebd5e32bd0..8fa8837df184 100644 --- a/sc/CppunitTest_sc_opencl_test.mk +++ b/sc/CppunitTest_sc_opencl_test.mk @@ -107,6 +107,13 @@ $(eval $(call gb_CppunitTest_use_components,sc_opencl_test,\ xmloff/util/xo \ )) +ifeq ($(OS),LINUX) +$(eval $(call gb_CppunitTest_add_libs,sc_opencl_test,\ + -ldl \ + -lrt \ +)) +endif + $(eval $(call gb_CppunitTest_use_configuration,sc_opencl_test)) $(eval $(call gb_CppunitTest_use_filter_configuration,sc_opencl_test)) diff --git a/sc/CppunitTest_sc_ucalc.mk b/sc/CppunitTest_sc_ucalc.mk index 7fa3369b74da..9c5606e66e55 100644 --- a/sc/CppunitTest_sc_ucalc.mk +++ b/sc/CppunitTest_sc_ucalc.mk @@ -106,6 +106,13 @@ $(eval $(call gb_CppunitTest_use_components,sc_ucalc,\ uui/util/uui \ )) +ifeq ($(OS),LINUX) +$(eval $(call gb_CppunitTest_add_libs,sc_ucalc,\ + -ldl \ + -lrt \ +)) +endif + $(eval $(call gb_CppunitTest_use_configuration,sc_ucalc)) # vim: set noet sw=4 ts=4: |