|
@@ -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)
|