[gegl] opencl: Open libOpenCL.so.1 library instead of libOpenCL.so



commit 0a9d224d533ced0054472f855d0051da9fca8157
Author: Jan Vesely <jan vesely rutgers edu>
Date:   Thu May 12 16:19:33 2016 -0400

    opencl: Open libOpenCL.so.1 library instead of libOpenCL.so
    
    libOpenCL.so is development only and not shipped with OpenCL implementations
    
    Signed-off-by: Jan Vesely <jan vesely rutgers edu>

 gegl/opencl/gegl-cl-init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/opencl/gegl-cl-init.c b/gegl/opencl/gegl-cl-init.c
index eb08296..c0c8788 100644
--- a/gegl/opencl/gegl-cl-init.c
+++ b/gegl/opencl/gegl-cl-init.c
@@ -304,7 +304,7 @@ if ((gegl_##func = (t_##func) GetProcAddress(module, #func)) == NULL)
 #define CL_LIBRARY_NAME "/System/Library/Frameworks/OpenCL.framework/Versions/Current/OpenCL"
 #else
 #define GL_LIBRARY_NAME "libGL.so.1"
-#define CL_LIBRARY_NAME "libOpenCL.so"
+#define CL_LIBRARY_NAME "libOpenCL.so.1"
 #endif
 
 #define CL_LOAD_FUNCTION(func)                                                    \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]