From 784e32323684430a681cd40ed22021f29b7b36d8 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Thu, 23 Aug 2007 12:08:53 +0000 Subject: [PATCH] Correction for VTK la files --- 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 0a86f3a..4a25f9e 100755 --- a/config_files/common.sh +++ b/config_files/common.sh @@ -653,10 +653,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