delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <036c01c32376$05277190$78d96f83@pomello> |
From: | "Max Bowsher" <maxb AT ukf DOT net> |
To: | <cygwin AT cygwin DOT com> |
Subject: | [Libtool Patch] Reorder search path to prevent "seems to have moved" warnings. |
Date: | Mon, 26 May 2003 12:00:29 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
X-Cam-ScannerAdmin: | mail-scanner-support AT ucs DOT cam DOT ac DOT uk |
X-Cam-AntiVirus: | Not scanned |
X-Cam-SpamDetails: |
Hi, This trivial patch swaps the order of /usr/lib and /lib in libtool's Cygwin search path. Given the default mount structure, this is mostly a no-op, except that it causes libtool to find .la files via /usr/lib first. Since they are generally installed that way, they have /usr/lib hardcoded inside them as their correct directory. Therefore, this reordering prevents the spurious "libfoo.la seems to have moved" warnings. I'm just soliciting preliminary feedback here, before I send this on to libtool-patches. Max. --- /usr/autotool/devel/share/aclocal/libtool.m4.orig 2003-05-26 11:25:40.000000000 +0100 +++ local-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 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |