summaryrefslogtreecommitdiff
path: root/opencl/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-03-29 14:02:02 +0300
committerTor Lillqvist <tml@collabora.com>2016-03-29 14:17:32 +0300
commitd739811038c54081ea4039a939af8f320b31378b (patch)
treee07c8e9b15a4b527c69c35ea19cd6ad80a6de725 /opencl/source
parent22fd8e743f455ab072086fb91c29a40f391403a9 (diff)
The OpenCL shared library is called libOpenCL.so.1 on Linux
libOpenCL.so is just the symbolic link to it, typically from a development package. (On Fedora, from ocl-icd-devel.) (Sure, libOpenCL.so.1 is also a symbolic link on Fedora, to libOpenCL.so.1.0.0. But anyway, libOpenCL.so.1 is not from a development package, but from ocl-icd.) Change-Id: I18ca2e52e025001f709b1b57e12cd01d5b52d08e
Diffstat (limited to 'opencl/source')
-rw-r--r--opencl/source/openclwrapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/opencl/source/openclwrapper.cxx b/opencl/source/openclwrapper.cxx
index 7bbcb2c3bce3..74a925b75584 100644
--- a/opencl/source/openclwrapper.cxx
+++ b/opencl/source/openclwrapper.cxx
@@ -38,7 +38,7 @@
#elif defined(MACOSX)
#define OPENCL_DLL_NAME nullptr
#else
-#define OPENCL_DLL_NAME "libOpenCL.so"
+#define OPENCL_DLL_NAME "libOpenCL.so.1"
#endif
#define DEVICE_NAME_LENGTH 1024