From c889dda52189e909243044b853b4e15c380d0afe Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 21 Dec 2005 14:41:24 +0000 Subject: [PATCH] correct modif_la_files() function to reflect native qwt configuration --- config_files/common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.2