From: maintenance team Date: Tue, 2 Dec 2008 07:53:15 +0000 (+0000) Subject: Update la files X-Git-Tag: V4_1_4~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5b66c5882c3a5d4add1fd291a91cfc0e98072bda;p=tools%2Finstall.git Update la files --- diff --git a/config_files/med-2.3.5.sh b/config_files/med-2.3.5.sh index d506550..e4713d4 100755 --- a/config_files/med-2.3.5.sh +++ b/config_files/med-2.3.5.sh @@ -140,6 +140,13 @@ EOF check_job ${PRODUCT_DIR}/MAKE.LOG make check_job ${PRODUCT_DIR}/INSTALL.LOG make install +cd ${PRODUCT_DIR}/lib + +sed -e "s%\(.*\)\([[:space:]].*-L.*/med-[0-9]\.[0-9]\.[0-9]_SRC/src[[:space:]]\)\(.*\)%\1 \3%g" libmedimport.la > libmedimport.la.new +mv -f libmedimport.la.new libmedimport.la +sed -e "s%\(.*\)\([[:space:]].*-L.*/med-[0-9]\.[0-9]\.[0-9]_SRC/src[[:space:]]\)\(.*\)%\1 \3%g" libmedimportcxx.la > libmedimportcxx.la.new +mv -f libmedimportcxx.la.new libmedimportcxx.la + cd ${PRODUCT_DIR}; # remove sources and temporary files after building @@ -193,6 +200,11 @@ mv -f libmedimport.la.new libmedimport.la sed -e "s%\(.*\)\([[:space:]].*/med-[0-9]\.[0-9]\.[0-9]/lib/libmed.la[[:space:]]\)\(.*\)%\1 ${PRODUCT_DIR}/lib/libmed.la \3%g" libmedimportcxx.la > libmedimportcxx.la.new mv -f libmedimportcxx.la.new libmedimportcxx.la +sed -e "s%\(.*\)\([[:space:]].*-L.*/med-[0-9]\.[0-9]\.[0-9]_SRC/src[[:space:]]\)\(.*\)%\1 \3%g" libmedimport.la > libmedimport.la.new +mv -f libmedimport.la.new libmedimport.la +sed -e "s%\(.*\)\([[:space:]].*-L.*/med-[0-9]\.[0-9]\.[0-9]_SRC/src[[:space:]]\)\(.*\)%\1 \3%g" libmedimportcxx.la > libmedimportcxx.la.new +mv -f libmedimportcxx.la.new libmedimportcxx.la + chmod 755 libmed.la chmod 755 libmedC.la chmod 755 libmedimport.la