]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/config/ltmain.m4sh (func_mode_execute): Also search
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 7 Aug 2006 16:25:08 +0000 (16:25 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 7 Aug 2006 16:25:08 +0000 (16:25 +0000)
the directory above `$objdir' for the argument of "-dlopen", as
mentioned in the error message.

ChangeLog
libltdl/config/ltmain.m4sh

index 344319d2039d8e2b1255ef99a0215126a512deff..2a2ed8ce968410b18208025effff06804840a395 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-08-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * libltdl/config/ltmain.m4sh (func_mode_execute): Also search
+       the directory above `$objdir' for the argument of "-dlopen", as
+       mentioned in the error message.
+
 2006-08-03  Ralf Menzel  <menzel@ls6.cs.uni-dortmund.de>
 
        * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Fix issues
index 04c26d4864abbfb74d2e798fc23cc1d7d6870f2e..b2da4b18db9476b2760644fad10e47df23ab48c4 100644 (file)
@@ -1593,7 +1593,9 @@ func_mode_execute ()
        if test -f "$dir/$objdir/$dlname"; then
          dir="$dir/$objdir"
        else
-         func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
+         if test ! -f "$dir/$dlname"; then
+           func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
+         fi
        fi
        ;;