Explorar o código

Add missing -L for simgrid-mc

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

+ 1 - 1
configure.ac

@@ -268,7 +268,7 @@ if test x$enable_simgrid = xyes ; then
 		AC_PATH_PROG([SIMGRID_MC], [simgrid-mc], [no], [$simgrid_dir/bin:$PATH])
 		LDFLAGS="$LDFLAGS -Wl,-znorelro -Wl,-znoseparate-code"
 		# libsimgrid needs to be linked from binaries themselves for MC to work
-		STARPU_EXPORTED_LIBS="$STARPU_EXPORTED_LIBS -lsimgrid"
+		STARPU_EXPORTED_LIBS="$STARPU_EXPORTED_LIBS $SIMGRID_LIBS -lsimgrid"
 	fi
 fi
 AM_CONDITIONAL(STARPU_SIMGRID_MC, test x$enable_simgrid_mc = xyes)