Explorar o código

fix checking for libstdc++

Samuel Thibault %!s(int64=14) %!d(string=hai) anos
pai
achega
e4f8e3a2f1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -241,7 +241,7 @@ if test x$enable_cuda = xyes; then
 
 	# On Darwin, the libstdc++ dependency is not automatically added by nvcc
 	case "$target" in
-	*-*darwin*) AC_CHECK_LIB([stdc++], [STARPU_CUDA_LDFLAGS="$STARPU_CUDA_LDFLAGS -lstdc++"]) ;;
+		*-*darwin*) AC_HAVE_LIBRARY([stdc++], [STARPU_CUDA_LDFLAGS="$STARPU_CUDA_LDFLAGS -lstdc++"]) ;;
 	esac
 	STARPU_CUDA_LDFLAGS="$STARPU_CUDA_LDFLAGS -lcuda"