Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2014-05-17 17:31:47 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2014-05-17 17:31:47 +0400
commit8cd88e3bd0e6751ba9d76246bff454a29ace2c41 (patch)
treeadfe1bc987166642f187169f9b0d2f175ad4a2f2 /intern
parentbe03b735c53fc96e7d83bff61a00b8bf3c2f91b6 (diff)
Fix T39757: missing cuda libary on linx, now also try to find libcuda.so.1.
I'm not sure this should be needed, but some particular systems don't have libcuda.so so we do this now.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/util/util_cuda.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/util/util_cuda.cpp b/intern/cycles/util/util_cuda.cpp
index e6510bfab2a..9404f45d9a6 100644
--- a/intern/cycles/util/util_cuda.cpp
+++ b/intern/cycles/util/util_cuda.cpp
@@ -194,7 +194,7 @@ bool cuLibraryInit()
DynamicLibrary *lib = dynamic_library_open(path);
if(lib == NULL && alternative_path)
- lib = dynamic_library_open(path);
+ lib = dynamic_library_open(alternative_path);
if(lib == NULL)
return false;