We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aeb519 commit 662a6c3Copy full SHA for 662a6c3
m4/trilinos.m4
@@ -219,6 +219,13 @@ AC_DEFUN([CONFIGURE_TRILINOS_10],
219
rm -f Makefile_config_trilinos
220
fi
221
222
+ dnl Add an rpath for $withtrilinosdir/lib to the link line. You don't
223
+ dnl need this if Trilinos is built with static libs or if you can rely
224
+ dnl on {DYLD,LD}_LIBRARY_PATH, but we don't want to assume either.
225
+ if (test "x$RPATHFLAG" != "x" -a -d ${withtrilinosdir}/lib); then
226
+ TRILINOS_LIBS="${RPATHFLAG}${withtrilinosdir}/lib $TRILINOS_LIBS"
227
+ fi
228
+
229
AC_SUBST(TRILINOS_LIBS)
230
AC_SUBST(TRILINOS_INCLUDES)
231
])
0 commit comments