summaryrefslogtreecommitdiffstats
path: root/contrib/ncurses/misc/shlib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ncurses/misc/shlib')
-rwxr-xr-xcontrib/ncurses/misc/shlib3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/ncurses/misc/shlib b/contrib/ncurses/misc/shlib
index 60fd4fc..a3ed810 100755
--- a/contrib/ncurses/misc/shlib
+++ b/contrib/ncurses/misc/shlib
@@ -29,7 +29,7 @@
#
# Author: Thomas E. Dickey <dickey@clark.net> 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
OpenPOWER on IntegriCloud