summaryrefslogtreecommitdiff
path: root/sc/Library_sc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sc/Library_sc.mk')
-rw-r--r--sc/Library_sc.mk15
1 files changed, 1 insertions, 14 deletions
diff --git a/sc/Library_sc.mk b/sc/Library_sc.mk
index 898284e74221..e17b4ca3e94a 100644
--- a/sc/Library_sc.mk
+++ b/sc/Library_sc.mk
@@ -37,6 +37,7 @@ $(eval $(call gb_Library_use_sdk_api,sc))
$(eval $(call gb_Library_use_externals,sc,\
boost_headers \
+ $(call gb_Helper_optional,CLCC,clew) \
icu_headers \
icui18n \
icuuc \
@@ -673,22 +674,8 @@ $(eval $(call gb_Library_add_exception_objects,sc,\
sc/source/core/opencl/op_array \
sc/source/core/opencl/op_logical \
sc/source/core/opencl/op_spreadsheet \
- sc/source/core/opencl/clcc/clew \
))
-ifeq ($(OS),LINUX)
-$(eval $(call gb_Library_add_libs,sc,\
- -ldl \
- -lrt \
-))
-endif
-
-ifeq ($(OS),MACOSX)
-$(eval $(call gb_Library_add_libs,sc,\
- -framework OpenCL \
-))
-endif
-
endif
$(eval $(call gb_SdiTarget_SdiTarget,sc/sdi/scslots,sc/sdi/scalc))