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.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Sam Thursfield 2008-08-21 21:18:28 +02:00 committed by Ralf Wildenhues
parent 59f927914c
commit f0a919c445
3 changed files with 13 additions and 0 deletions

View File

@ -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 $#.

1
THANKS
View File

@ -124,6 +124,7 @@
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

View 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
;;