]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Update of la files for VTK on 64 bit
authormaintenance team <salome-mnt@opencascade.com>
Mon, 16 Jul 2007 11:04:42 +0000 (11:04 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Mon, 16 Jul 2007 11:04:42 +0000 (11:04 +0000)
config_files/common.sh

index f1a8def2c4970cda02b735a796faf7fa962807e0..74670241e5244dcfecbe4e6b740b5e3113d5c41f 100755 (executable)
@@ -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