소스 검색

Fix forcing -lstdc++ for libstarpu.a in simgrid MPI builds

Samuel Thibault 5 년 전
부모
커밋
75e0a09902
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -221,7 +221,7 @@ if test x$enable_simgrid = xyes ; then
 	if test x$enable_shared = xno ; then
 		# When linking statically, libtool does not realize we need libstdc++ for simgrid_cpp.cpp
 		SIMGRID_LIBS="$SIMGRID_LIBS -lstdc++"
-		LDFLAGS="$LDFLAGS -lstdc++"
+		LIBS="$LIBS -lstdc++"
 	fi
 
 	AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[