瀏覽代碼

fxt: fixing static linking for simgrid (suggested by Florent Pruvost)

Luka Stanisic 8 年之前
父節點
當前提交
8370df5f67
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -1617,7 +1617,7 @@ if test x$use_fxt = xyes; then
 	if test x$enable_simgrid = xyes -a x$enable_shared = xno ; then
                 # simgrid's SMPI needs fxt to be linked in statically for
                 # variable privatization to work
-		FXT_LIBS="$(pkg-config --variable=libdir fxt)/libfxt.a -lrt"
+		FXT_LIBS="$(pkg-config --libs --static fxt)"
 	fi
 
         AC_ARG_ENABLE(paje-codelet-details, [AS_HELP_STRING([--enable-paje-codelet-details],