X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=misc%2Fshlib;h=a3ed8101d1927c5ffe20fe0706fcfcd1a59c2139;hp=60fd4fc1286edf8c23c4436d09b1d8db22e335d9;hb=ad0373780c377b7abe50c77fc9a36092972dc872;hpb=55ccd2b959766810cf7db8d1c4462f338ce0afc8 diff --git a/misc/shlib b/misc/shlib index 60fd4fc1..a3ed8101 100755 --- a/misc/shlib +++ b/misc/shlib @@ -29,7 +29,7 @@ # # Author: Thomas E. Dickey 1996 # -# $Id: shlib,v 1.10 2005/06/25 22:41:17 tom Exp $ +# $Id: shlib,v 1.11 2007/01/13 17:09:52 tom 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, @@ -81,6 +81,7 @@ for p in lib ../lib ../../lib ../../../lib do if test -d $p; then q=`cd $p; pwd` + break elif test -f configure && test ! -d ../$p ; then break fi