From: maintenance team Date: Fri, 13 Jul 2007 08:11:35 +0000 (+0000) Subject: Update of common.sh for update of *.la files in YACS module X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a69a63e6692e2e66a63ea8f00f4c81a9bd8cde85;p=tools%2Finstall.git Update of common.sh for update of *.la files in YACS module --- diff --git a/config_files/common.sh b/config_files/common.sh index f1a8def..45603ea 100755 --- a/config_files/common.sh +++ b/config_files/common.sh @@ -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