From 352f0b75259efc6c8c645c429f0ca3787a91db16 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sat, 5 Feb 2011 18:02:56 +0000 Subject: [PATCH] Set -rpath for Trilinos. This doesn't currently help since the Trilinos libs aren't compiled with -rpath themselves (so their references to each other fail) but it is still a step in the right direction. git-svn-id: https://svn.dealii.org/trunk@23293 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deal.II/source/Makefile b/deal.II/source/Makefile index 07b959ace0..d33e71084d 100644 --- a/deal.II/source/Makefile +++ b/deal.II/source/Makefile @@ -98,8 +98,10 @@ ifneq ($(GXX-VERSION),compaq_cxx) # same with TRILINOS ifeq ($(USE_CONTRIB_TRILINOS),yes) - deplibs.g += $(lib-contrib-trilinos) - deplibs.o += $(lib-contrib-trilinos) + deplibs.g += $(lib-contrib-trilinos) \ + $(call DEAL_II_RPATH,$(DEAL_II_TRILINOS_LIBDIR)) + deplibs.o += $(lib-contrib-trilinos) \ + $(call DEAL_II_RPATH,$(DEAL_II_TRILINOS_LIBDIR)) endif # same with MUMPS -- 2.39.5