From bd869673bd03226ce9f485b811650a309101e280 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Mon, 16 Jul 2007 11:04:42 +0000 Subject: [PATCH] Update of la files for VTK on 64 bit --- config_files/common.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config_files/common.sh b/config_files/common.sh index f1a8def..7467024 100755 --- a/config_files/common.sh +++ b/config_files/common.sh @@ -635,10 +635,14 @@ if [ "$l" != "X" ] ; then mv -f $l"_" $l fi # 4. process VTK dependencies + if test `uname -m` = "x86_64" ; then + vtkdir=`printenv VTKHOME`/lib64/vtk + else vtkdir=`printenv VTKHOME`/lib/vtk + fi if [ -n "${VTKHOME}" ] && [ -d "${vtkdir}" ] ; then # echo $l $VTKHOME $vtkdir - sed -e "s%-L[^[:space:]]*VTK[^[:space:]]*/lib/vtk%-L${vtkdir}%g" $l > $l"_" + sed -e "s%-L[^[:space:]]*VTK[^[:space:]]*/\(lib\|lib64\)/vtk%-L${vtkdir}%g" $l > $l"_" mv -f $l"_" $l fi # 5. process HDF dependencies -- 2.39.2