]> git.pld-linux.org Git - packages/clcc.git/blame - clcc-opencl.patch
- boost rebuild
[packages/clcc.git] / clcc-opencl.patch
CommitLineData
7e5e9a01
JB
1--- clcc-0.3.0/src/options.cpp.orig 2011-12-13 14:48:00.000000000 +0100
2+++ clcc-0.3.0/src/options.cpp 2014-11-29 21:25:19.837851731 +0100
3@@ -33,8 +33,8 @@
4 #define CLCC_OPENCL_DYNLIB_NAME "/Library/Frameworks/OpenCL.framework/OpenCL"\r
5 #endif\r
6 \r
7-#ifdef __LINUX__\r
8-#define CLCC_OPENCL_DYNLIB_NAME "libOpenCL.so";\r
9+#if defined(__LINUX__) || defined(__linux__)\r
10+#define CLCC_OPENCL_DYNLIB_NAME "libOpenCL.so.1";\r
11 #endif\r
12 \r
13 static const char* opencl_lib_default = CLCC_OPENCL_DYNLIB_NAME; //!< The default dynamic library name to open, its value is platform-specific\r
This page took 0.05932 seconds and 4 git commands to generate.