From b1c60912ae5448ffb3c7abee5b9ec3367488179f Mon Sep 17 00:00:00 2001 From: Peter Verthez Date: Sat, 28 Sep 2002 17:48:15 +0000 Subject: [PATCH] Portability: Don't use LD_LIBRARY_PATH directly, but use libtool. --- t/src/test_gom | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/t/src/test_gom b/t/src/test_gom index fdb849f..7cc8e03 100755 --- a/t/src/test_gom +++ b/t/src/test_gom @@ -35,20 +35,20 @@ else fi builddir=`pwd` +ltcmd="$srcdir/../libtool --mode=execute -dlopen $builddir/../gedcom/libgedcom.la -dlopen $builddir/../gom/libgedcom_gom.la" export GCONV_PATH=.:$GCONV_PATH -export LD_LIBRARY_PATH=$builddir/../gedcom/.libs:$builddir/../gom/.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 if [ "$GOM_DMALLOC_TEST" = "" ] then - $GEDCOM_TESTENV $builddir/src/gomtest $options $testfile + $ltcmd $GEDCOM_TESTENV $builddir/src/gomtest $options $testfile else $dmalloc -b -l $GOM_DMALLOC_TEST -i 100 low > $dmalloc_tmp . $dmalloc_tmp rm $dmalloc_tmp - $GEDCOM_TESTENV $builddir/src/gomtest_static $options $testfile + $ltcmd $GEDCOM_TESTENV $builddir/src/gomtest_static $options $testfile fi result=$? rm gedcom.enc -- 2.30.2