From: Peter Verthez Date: Sat, 28 Sep 2002 17:47:21 +0000 (+0000) Subject: Portability: don't use LD_LIBRARY_PATH directly, but use libtool. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=ed173483543d2023da6df1ff0724760e1dffd3ff;p=gedcom-parse.git Portability: don't use LD_LIBRARY_PATH directly, but use libtool. --- 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