Pārlūkot izejas kodu

configure.ac: link with stdc++ only on non-windows systems

Nathalie Furmento 14 gadi atpakaļ
vecāks
revīzija
5b4c5324d2
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      configure.ac

+ 3 - 1
configure.ac

@@ -501,7 +501,9 @@ if test x$have_cuda_memcpy_peer = xyes; then
 fi
 fi
 
 
 if test x$enable_cuda = xyes; then
 if test x$enable_cuda = xyes; then
-    STARPU_CUDA_LDFLAGS="$STARPU_CUDA_LDFLAGS -lstdc++"
+    if test x$starpu_windows != xyes ; then
+	STARPU_CUDA_LDFLAGS="$STARPU_CUDA_LDFLAGS -lstdc++"
+    fi
     AC_SUBST(STARPU_CUDA_LDFLAGS)
     AC_SUBST(STARPU_CUDA_LDFLAGS)
     AC_SUBST(STARPU_CUFFT_LDFLAGS)
     AC_SUBST(STARPU_CUFFT_LDFLAGS)
     AC_SUBST(STARPU_CUDA_CPPFLAGS)
     AC_SUBST(STARPU_CUDA_CPPFLAGS)