libtool-patches
[Top][All Lists]
Advanced

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

FYI: SCO/bugfix patch 5 of 10: ltmain.in: exclude -lc on SCO platforms


From: Ralf Wildenhues
Subject: FYI: SCO/bugfix patch 5 of 10: ltmain.in: exclude -lc on SCO platforms
Date: Sat, 5 Nov 2005 12:20:49 +0100
User-agent: Mutt/1.5.9i

Hi Tim, Albert, Kean,

* Albert Chin wrote on Fri, Nov 04, 2005 at 06:07:48PM CET:
> 
> Well, Tim said we do it for other platforms so I say we accept the
> patch:
>           *-*-os2*)
>             # These systems don't actually have a C library (as such)
>             test "X$arg" = "X-lc" && continue
>             ;;

Yes, agreed.

* Tim Rice wrote on Fri, Nov 04, 2005 at 07:00:23PM CET:
> On Fri, 4 Nov 2005, Ralf Wildenhues wrote:
> 
> > Is gettext the only package that exposes this?  Could you be bothered
> > to write a bug report (or have already done so)?
> 
> I don't know if gettext is the only one or not.
> I just sent a patch to address@hidden

Thank you.  If you could post the outcome here, that would be nice.

Since we need to check for the -lc part further down (where we've worked
our way through all the deplibs), I've added the cases down there as
well.  While doing so, I noted that just copy-n-pasting is pretty much
nonsense: $arg has no meaning when we're not in the argument parsing
loop any more.  Guess I messed that up last time as well.  :-/

In any case, these are the patches I've added to CVS HEAD and
branch-1-5.  Please test that everything works as expected.

Thanks,
Ralf

2005-11-05  Kean Johnston  <address@hidden>,
            Ralf Wildenhues  <address@hidden>

        * libltdl/config/ltmain.m4sh (func_mode_link) [*-*-sco3.2v5*]:
        Don't pass through -lc, nor add it to deplibs.
        [*-*-sysv5*]: Ditto.
        [*-*-openbsd*, *-*-freebsd*, *-*-dragonfly*]: Remove bogus
        `$arg'.

Attachment: sco-lc-HEAD.diff
Description: Text document

Attachment: sco-lc-1-5.diff
Description: Text document


reply via email to

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