]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Set -rpath for Trilinos. This doesn't currently help since the Trilinos libs
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 5 Feb 2011 18:02:56 +0000 (18:02 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 5 Feb 2011 18:02:56 +0000 (18:02 +0000)
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

index 07b959ace0c49496d32f8ddbed34d9b2e1ede5c0..d33e71084d6cf35d3e9878f4d5d3d0fcf53860b4 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.