]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Update of common.sh for update of *.la files in YACS module
authormaintenance team <salome-mnt@opencascade.com>
Fri, 13 Jul 2007 08:11:35 +0000 (08:11 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Fri, 13 Jul 2007 08:11:35 +0000 (08:11 +0000)
config_files/common.sh

index f1a8def2c4970cda02b735a796faf7fa962807e0..45603ea845e3f56d626d7f42ab83487db0f299a2 100755 (executable)
@@ -614,6 +614,13 @@ if [ "$l" != "X" ] ; then
            sed -e "s%[[:space:]]\(-L\)\?[^[:space:]]*${mod}[^[:space:]/]*/lib% \1${moddir}/lib%g" $l > $l"_"
            mv -f $l"_" $l
        fi
+       if test ${mod} = "YACS" ; then
+       # 3. process libxml dependencies
+       libxmldir=`printenv LIBXML_DIR`/lib
+       if [ ! -d ${libxmldir} ] ; then libxmldir=`printenv  LIBXML_DIR`/lib ; fi
+       sed -e "s%\(.*\)\([[:space:]].*/lib/libxml2.la[[:space:]]\)\(.*\)%\1 ${libxmldir}/libxml2.la \3%g" $l > $l"_"
+       mv -f $l"_" $l  
+       fi
     done
     # 2. process CAS.CADE dependencies
     casdir=`printenv CASROOT`/lib