bug-libtool
[Top][All Lists]
Advanced

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

Re: libtool 1.5.26: link fails on Darwin 5.5 because of wrong detection


From: Ralf Wildenhues
Subject: Re: libtool 1.5.26: link fails on Darwin 5.5 because of wrong detection of -single_module flag support
Date: Thu, 27 Mar 2008 18:25:53 +0100
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

Hi Peter,

* Peter O'Gorman wrote on Thu, Mar 27, 2008 at 03:56:17AM CET:
> Ok?

Yes, with nits below addressed.

Thanks,
Ralf

> 2008-03-26  Peter O'Gorman  <address@hidden>
> 
>       * libltdl/m4/libtool.m4 [_LT_REQUIRED_DARWIN_CHECKS]: Fix the
>       test for -single_module and log it to config.log.
>       Reported by Torok Edwin and Nigel Home.
> 
> --- libltdl/m4/libtool.m4     17 Mar 2008 22:39:05 -0000      1.144
> +++ libltdl/m4/libtool.m4     27 Mar 2008 02:48:19 -0000
> @@ -905,14 +905,20 @@
>       # by either setting the environment variable LT_MULTI_MODULE
>       # non-empty at configure time, or by adding -multi_module to the
>       # link flags.
> +     rm -rf libconftest.dylib*
>       echo "int foo(void){return 1;}" > conftest.c
> +     echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
> +-dynamiclib -Wl,-single_module conftest.c" >& AS_MESSAGE_LOG_FD

Please no space after '>&' (I'm not sure whether it matters).
Two instances.

> -     rm conftest.c
> +     rm -rf libconftest.dylib*
> +     rm -f conftest.*

What about conftest.dSYM?  Or would that be libconftest.dylib.dSYM?




reply via email to

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