From ed173483543d2023da6df1ff0724760e1dffd3ff Mon Sep 17 00:00:00 2001 From: Peter Verthez Date: Sat, 28 Sep 2002 17:47:21 +0000 Subject: [PATCH] Portability: don't use LD_LIBRARY_PATH directly, but use libtool. --- t/src/test_script | 4 ++-- t/src/test_update | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/t/src/test_script b/t/src/test_script index eebe7e6..1e21a52 100755 --- a/t/src/test_script +++ b/t/src/test_script @@ -33,13 +33,13 @@ else fi builddir=`pwd` +ltcmd="$srcdir/../libtool --mode=execute -dlopen $builddir/../gedcom/libgedcom.la" export GCONV_PATH=.:$GCONV_PATH -export LD_LIBRARY_PATH=$builddir/../gedcom/.libs:$LD_LIBRARY_PATH ln -s $srcdir/../data/gedcom.enc . ln -s $builddir/../ansel/.libs/ANSI_Z39.47.so . ln -s $srcdir/../ansel/gconv-modules . rm -f core -$GEDCOM_TESTENV $builddir/src/testgedcom $options $testfile +$ltcmd $GEDCOM_TESTENV $builddir/src/testgedcom $options $testfile result=$? rm gedcom.enc rm ANSI_Z39.47.so diff --git a/t/src/test_update b/t/src/test_update index 7393494..4e1050c 100755 --- a/t/src/test_update +++ b/t/src/test_update @@ -30,14 +30,14 @@ else fi builddir=`pwd` +ltcmd="$srcdir/../libtool --mode=execute -dlopen $builddir/../gedcom/libgedcom.la" export GCONV_PATH=.:$GCONV_PATH -export LD_LIBRARY_PATH=$builddir/../gedcom/.libs:$LD_LIBRARY_PATH ln -s $srcdir/../data/gedcom.enc . ln -s $srcdir/../data/new.ged . ln -s $builddir/../ansel/.libs/ANSI_Z39.47.so . ln -s $srcdir/../ansel/gconv-modules . rm -f core -$GEDCOM_TESTENV $builddir/src/updatetest $options +$ltcmd $GEDCOM_TESTENV $builddir/src/updatetest $options result=$? rm gedcom.enc rm new.ged -- 2.30.2