From: maintenance team Date: Mon, 16 Jul 2007 11:04:42 +0000 (+0000) Subject: Update of la files for VTK on 64 bit X-Git-Tag: V_3_2_9~30 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bd869673bd03226ce9f485b811650a309101e280;p=tools%2Finstall.git Update of la files for VTK on 64 bit --- 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