diff options
Diffstat (limited to 'opencl')
-rw-r--r-- | opencl/Library_opencl.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/opencl/Library_opencl.mk b/opencl/Library_opencl.mk index ad1af3761b08..eb832208b654 100644 --- a/opencl/Library_opencl.mk +++ b/opencl/Library_opencl.mk @@ -46,4 +46,10 @@ $(eval $(call gb_Library_add_exception_objects,opencl,\ opencl/source/platforminfo \ )) +ifeq ($(OS),LINUX) +$(eval $(call gb_Library_add_libs,opencl,\ + -lrt \ +)) +endif + # vim: set noet sw=4 ts=4: |