]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Update la files
authormaintenance team <salome-mnt@opencascade.com>
Tue, 2 Dec 2008 07:53:15 +0000 (07:53 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Tue, 2 Dec 2008 07:53:15 +0000 (07:53 +0000)
config_files/med-2.3.5.sh

index d506550ab97c8bf9e33bd3d0e18b6c57fb22f17b..e4713d4e5e739843bf76eb19650757d7d5f6ee02 100755 (executable)
@@ -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