X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=misc%2Fshlib;h=ee55062283f749322a209cb21c73cd43a2fb5a24;hp=1845a62e51ee620e9337ed4e1f26a9b49abd55cb;hb=0eb88fc5281804773e2a0c7a488a4452463535ce;hpb=661078ddbde3ce0f3b06e95642fbb9b5fef7dca1 diff --git a/misc/shlib b/misc/shlib index 1845a62e..ee550622 100755 --- a/misc/shlib +++ b/misc/shlib @@ -29,7 +29,7 @@ # # Author: Thomas E. Dickey 1996 # -# $Id: shlib,v 1.4 1998/02/11 12:13:50 tom Exp $ +# $Id: shlib,v 1.5 1998/05/31 00:29:38 mooney Exp $ # Use this script as a wrapper when running executables linked to shared # libraries on systems that use the $LD_LIBRARY_PATH variable and don't embed # the soname's path within the linked executable (such as IRIX), e.g, @@ -55,6 +55,15 @@ # Using a conventional link, with -L and -l options on Linux results in a # statically linked executable, which we don't want at all. # + +# +# Make sure that we use the PATH that was set in run_tic.sh +# +if test X$NEWPATH != X ; then + PATH=$NEWPATH + export PATH +fi + q="" for p in lib ../lib do