]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Avoid leading separator in PATH for DLL search.
authorSam Thursfield <ssssam@gmail.com>
Thu, 21 Aug 2008 19:18:28 +0000 (21:18 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 21 Aug 2008 20:16:10 +0000 (22:16 +0200)
* libltdl/config/ltmain.m4sh (func_mode_link) [cygwin, mingw]
[ pw32, os2, cegcc]: Fix dllsearchpath not to contain leading
separator.
* THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
THANKS
libltdl/config/ltmain.m4sh

index dd87eea8554f24f6e7484a0ab80221591412a6a1..6281da7a1022f044ef8ee9407664d8da514a3d1f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-08-21  Sam Thursfield  <ssssam@gmail.com>  (tiny change)
+
+       Avoid leading separator in PATH for DLL search.
+       * libltdl/config/ltmain.m4sh (func_mode_link) [cygwin, mingw]
+       [ pw32, os2, cegcc]: Fix dllsearchpath not to contain leading
+       separator.
+       * THANKS: Update.
+
 2008-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * libltdl/config/ltmain.m4sh (func_mode_link): Quote $#.
diff --git a/THANKS b/THANKS
index f284d4e284c8e040180e5bf25cbe434b071db793..1e48a00d2d292dfe6327b311290a270124bd45f6 100644 (file)
--- a/THANKS
+++ b/THANKS
   Robert Ă–gren                        lists@roboros.com
   Roberto Bagnara              bagnara@cs.unipr.it
   Roland Mainz                 roland.mainz@nrubsig.org
+  Sam Thursfield               ssssam@gmail.com
   Sebastian Wilhelmi           wilhelmi@ira.uka.de
   Simon Josefsson              jas@extundo.com
   Stephan Kulow                        coolo@kde.org
index 590252eb2c14608f6da8aad5003c3d150a308ad2..7e319c9904d3752a5ae8f6f6814ef8dcfd45c95b 100644 (file)
@@ -4064,10 +4064,12 @@ func_mode_link ()
          testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
          case :$dllsearchpath: in
          *":$dir:"*) ;;
+         ::) dllsearchpath=$dir;;
          *) dllsearchpath="$dllsearchpath:$dir";;
          esac
          case :$dllsearchpath: in
          *":$testbindir:"*) ;;
+         ::) dllsearchpath=$testbindir;;
          *) dllsearchpath="$dllsearchpath:$testbindir";;
          esac
          ;;
@@ -7160,10 +7162,12 @@ EOF
          testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
          case :$dllsearchpath: in
          *":$libdir:"*) ;;
+         ::) dllsearchpath=$libdir;;
          *) dllsearchpath="$dllsearchpath:$libdir";;
          esac
          case :$dllsearchpath: in
          *":$testbindir:"*) ;;
+         ::) dllsearchpath=$testbindir;;
          *) dllsearchpath="$dllsearchpath:$testbindir";;
          esac
          ;;