summaryrefslogtreecommitdiff
path: root/sc/CppunitTest_sc_opencl_test.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-10-29 17:11:47 +0200
committerTor Lillqvist <tml@collabora.com>2014-10-29 17:11:47 +0200
commit66884ac67e248c24b3872bb6ff316ae35c7c1aba (patch)
treea5c78ae88521288329504d8454c02fc844cc31ee /sc/CppunitTest_sc_opencl_test.mk
parent28561633d82df4f7909b6d8211d4bff2912f1bd6 (diff)
Need -ldl on Linux now
Change-Id: I3a207f86611a5078cd2de1437cd48e612232aaf2
Diffstat (limited to 'sc/CppunitTest_sc_opencl_test.mk')
-rw-r--r--sc/CppunitTest_sc_opencl_test.mk7
1 files changed, 7 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))