|
From: | Peter O'Gorman |
Subject: | Re: match_pattern support for .a files linked in shared libs |
Date: | Sat, 31 Jul 2004 21:10:19 +0900 |
User-agent: | Mozilla Thunderbird 0.6 (Macintosh/20040502) |
Albert Chin wrote:
On Fri, Jul 30, 2004 at 10:21:53AM -0701, Jacob Meuser wrote:When libtool is given a .a to link into a shared library, if deplibs_check_method != pass_all, it doesn't link. However, both NetBSD and OpenBSD allow shared libs to be built with certain .a files, as per match_pattern. Here is a patch against branch-1-5. I ripped the match-pattern_regex from another part of libtool.
[snip]
${SED} -> $SED ${EGREP} -> $EGREP And, you need to fix the indentation after the 'if' statement.
Well, first I think we ought to see if this patch is the correct way to solve the problem. I'm not entirely sure it is, but am willing to be persuaded otherwise. First, as far as I know, the match_pattern set by freebsd and openbsd should be allowing the libs into shared libraries as it stands, is this correct? Perhaps the match_pattern code a little later in ltmain.in needs fixing rather than adding a whole new section?
Peter -- Peter O'Gorman - http://www.pogma.com
[Prev in Thread] | Current Thread | [Next in Thread] |