[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MSYS+MSVC for libtool branch-2-0
From: |
Ralf Wildenhues |
Subject: |
Re: MSYS+MSVC for libtool branch-2-0 |
Date: |
Wed, 1 Jun 2005 15:48:44 +0200 |
User-agent: |
Mutt/1.4.1i |
Hi Peter,
* Peter Ekberg wrote on Sat, May 28, 2005 at 08:47:10PM CEST:
>
> this snippet in ltmain.m4sh, for file_magic*), line approx 4750,
>
> if test -n "$a_deplib" ; then
> libname=`eval "\\$ECHO \"$libname_spec\""`
> for i in $lib_search_path $sys_lib_search_path $shlib_search_path;
> do
> potential_libs=`ls $i/$libname[[.-]]* 2>/dev/null`
> for potent_lib in $potential_libs; do
> # Follow soft links.
> if ls -lLd "$potent_lib" 2>/dev/null |
>
> has problems because shell expansion (?) of $i/$libname[.-]*
> is not case insensitive.
Yep.
> If I e.g. supply -L/msvc/lib -lwsock32 and there's a file
> WSOCK32.LIB in that dir, the ls command will not find it.
>
> Using -lWSOCK32 works, but that does not work for MinGW
> and Cygwin, since they provide libwsock32.a with the
> same functionality as WSOCK32.LIB in MSVC. So, to not
> make makefiles a mess, I'd really like the above to include
> /msvc/lib/WSOCK32.LIB in potential_libs.
>
> Any suggestions on how to make that happen?
Write a shell function to encapsulate the globbing, then
do it the easiest way that is available (bash has nocaseglob,
else there is `tr', or even a compiled program to evaluate). :-/
This part also sucks for white space in paths, but I think that
could be fixed as well..
Regards,
Ralf
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: MSYS+MSVC for libtool branch-2-0,
Ralf Wildenhues <=