Browse Source

Fix a configuration bug which appeared when using CUDA 2.2.
Thanks to Sebastien Fremal for reporting that issue !

Cédric Augonnet 16 years ago
parent
commit
d07392fcf3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -186,7 +186,7 @@ if test x$enable_cuda = xyes -o x$enable_cuda = xmaybe; then
 		AC_SEARCH_LIBS([cuInit],[cuda],[found_cudalib=yes],[found_cudalib=no])
 	fi
 
-	if test x$found_cudalib=xno -o -d "$cuda_dir/lib64/"; then
+	if test x$found_cudalib=xno -a -d "$cuda_dir/lib64/"; then
 		LDFLAGS="${SAVED_LDFLAGS} -L$cuda_dir/lib64/ "
 	fi