From: vsr Date: Wed, 21 Dec 2005 14:42:25 +0000 (+0000) Subject: correct modif_la_files() function to reflect native qwt configuration X-Git-Tag: V_3_1_0~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=03c0b522a9b58a2627864a07c80ec8e38041b0ec;p=tools%2Finstall.git correct modif_la_files() function to reflect native qwt configuration --- diff --git a/config_files/common.sh b/config_files/common.sh index 9a69683..a89c48e 100755 --- a/config_files/common.sh +++ b/config_files/common.sh @@ -499,9 +499,9 @@ if [ "$l" != "X" ] ; then mv -f _$l $l fi # 7. process qwt dependencies - qwtdir=`printenv QWTHOME`/lib - if [ -n "${QWTHOME}" ] && [ -d "${qwtdir}" ] ; then - # echo $l $QWTHOME $qwtdir + qwtdir=`find_in_path libqwt.so ${LD_LIBRARY_PATH}` + if [ -n "${qwtdir}" ] && [ -d "${qwtdir}" ] ; then + # echo $l $qwtdir sed -e "s%-L[^[:space:]]*qwt[^[:space:]]*/lib%-L${qwtdir}%g" $l > _$l mv -f _$l $l fi