libtool-patches
[Top][All Lists]
Advanced

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

Re: [PATCH-1.5] Darwin reload commands


From: Gary V. Vaughan
Subject: Re: [PATCH-1.5] Darwin reload commands
Date: Thu, 08 Jul 2004 14:54:58 +0100
User-agent: Mozilla Thunderbird 0.7 (X11/20040615)


Peter O'Gorman wrote:
> Gary V. Vaughan wrote:
> 
>> Peter O'Gorman wrote:
>>
>>> +case $host_os in
>>> +  darwin*)
>>> +    if test "$GCC" = yes; then
>>> +      reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
>>> +    else
>>> +      reload_cmds='$LD$reload_flag -o $output$reload_objs'
>>> +    fi
>>> +    ;;
>>> +esac
>>> reload_cmds='$LD$reload_flag -o $output$reload_objs'
>>
>>
>>
>> The last line overwrites whatever setting was made inside the case.
>>
>> Otherwise, okay.
> 
> 
> Okay, moved the patch down one line and committed, thanks for spotting
> the error.

Isn't that longhand for:

case $host_os,$GCC in
darwin*,yes) reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' ;;
*)           reload_cmds='$LD$reload_flag -o $output$reload_objs' ;;
esac

??

Cheers,
        Gary.
-- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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