libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Patch] (Cygwin) reorder entries in sys_lib_search_path_spec


From: Boehne, Robert
Subject: RE: [Patch] (Cygwin) reorder entries in sys_lib_search_path_spec
Date: Tue, 27 May 2003 10:32:04 -0500

Ok, on Chuck's approval I'll check this in when I get home.

Thanks,

Robert

-----Original Message-----
From: Charles Wilson [mailto:address@hidden
Sent: Monday, May 26, 2003 2:57 PM
To: Max Bowsher
Cc: address@hidden
Subject: Re: [Patch] (Cygwin) reorder entries in
sys_lib_search_path_spec


Sounds good to me.

--Chuck


Max Bowsher wrote:

> --- libtool.m4.orig 2003-05-26 11:25:40.000000000 +0100
> +++ libtool.m4 2003-05-26 11:44:29.000000000 +0100
> @@ -1217,7 +1217,7 @@
>      cygwin*)
>        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
>        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release}
> | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
> -      sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
> +      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
>        ;;
>      mingw*)
>        # MinGW DLLs use traditional 'lib' prefix
> 
> 
> This patch reorders Cygwin's sys_lib_search_path_spec:
> 
> On Cygwin /usr/lib and /lib, by default, refer to the same directory. Most
> libtool libraries are installed to /usr/lib, and so that is the path the .la
> file contains.
> 
> However, as /lib occurs first in the search path, libtool finds them under
> that name first, and then warns that the library has been moved from its
> original installation, because it doesn't know that /usr/lib == /lib.
> 
> With the patch, libtool finds libraries via /usr/lib, and does not complain.




_______________________________________________
Libtool-patches mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/libtool-patches




reply via email to

[Prev in Thread] Current Thread [Next in Thread]