]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
add missing path component for rpath option
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 18 Jun 2006 18:44:40 +0000 (18:44 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 18 Jun 2006 18:44:40 +0000 (18:44 +0000)
git-svn-id: https://svn.dealii.org/trunk@13270 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4
deal.II/configure

index 81f6eae37ecabe72589d6ca457192f61416e7ad5..77fc71eecd00402304f1a1a54495e4fd8bc53818 100644 (file)
@@ -1439,7 +1439,7 @@ dnl
 dnl -------------------------------------------------------------
 AC_DEFUN(DEAL_II_CHECK_RPATH,
 [ OLD_LDFLAGS=$LDFLAGS
-  LDFLAGS="-Wl,-rpath $DEAL_II_PATH $LDFLAGS"
+  LDFLAGS="-Wl,-rpath,$DEAL_II_PATH/lib $LDFLAGS"
   AC_MSG_CHECKING([whether compiler understands option -Wl,-rpath])
   AC_LINK_IFELSE(
    [ AC_LANG_PROGRAM([[]],[[]])],
index 20587fabe7027c7a8423561601c6412e3fe9230f..6a41f26ee5451f862a39e028510f9dff27b48901 100755 (executable)
@@ -4158,7 +4158,7 @@ echo "${ECHO_T}Unknown C compiler - using generic options" >&6
 
 
  OLD_LDFLAGS=$LDFLAGS
-  LDFLAGS="-Wl,-rpath $DEAL_II_PATH $LDFLAGS"
+  LDFLAGS="-Wl,-rpath,$DEAL_II_PATH/lib $LDFLAGS"
   echo "$as_me:$LINENO: checking whether compiler understands option -Wl,-rpath" >&5
 echo $ECHO_N "checking whether compiler understands option -Wl,-rpath... $ECHO_C" >&6
   cat >conftest.$ac_ext <<_ACEOF

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.