From 104c50fac7aa8a69349a8162ab3b7bf607413e71 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Tue, 13 Oct 2009 14:53:39 +0000 Subject: [PATCH] Update for Salome 5.1.3 --- config_files/expat-2.0.1.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config_files/expat-2.0.1.sh b/config_files/expat-2.0.1.sh index 452ecf0..8fd8eec 100755 --- a/config_files/expat-2.0.1.sh +++ b/config_files/expat-2.0.1.sh @@ -97,6 +97,13 @@ test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR} check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR} +# modify libdir +cd ${PRODUCT_DIR}/lib +for l in `find $ldir -name "*.la"`; do +sed -e "s%^libdir='\(.*\)'%libdir='${PRODUCT_DIR}/lib'%g" $l > $l"_" +chmod -f --reference=$l $l"_" ; mv -f $l"_" $l +done + # to generate environment script for sources try_preinstalled } -- 2.39.2