[Top][All Lists]
[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: |
Peter O'Gorman |
Subject: |
Re: libtool 1.5.26: link fails on Darwin 5.5 because of wrong detection of -single_module flag support |
Date: |
Wed, 27 Feb 2008 10:55:21 -0600 |
User-agent: |
Thunderbird 2.0.0.9 (X11/20071115) |
Török Edwin wrote:
> echo "int foo(void){return 1;}" > conftest.c
> $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
> -dynamiclib ${wl}-single_module conftest.c
> if test -f libconftest.dylib; then
> lt_cv_apple_cc_single_mod=yes
> rm -rf libconftest.dylib*
> fi
> rm conftest.c
> fi
>
> It is missing a >&5 redirect, and an exit status check.
> Full config.log, and build log attached as logs.tar.gz.
> [does this mailing list accept attachments?]
>
> To reproduce, download the latest ClamAV devel snapshot, and build it on
> a Darwin 5.5 Power Macintosh:
> http://www.clamav.net/snapshot/clamav-devel-latest.tar.gz
Thanks,
I tested on Mac OS X 10.2 (darwin6) but not on an earlier system. :(
I will fix this (hopefully prior to libtool-2.2's release). In the
meantime, it should be possible to build clamav on this system by adding
'lt_cv_apple_cc_single_mod=no' to the configure arguments.
Darwin5.5 is pretty old, so I don't think that this affects a large
number of people.
Peter
--
Peter O'Gorman
http://pogma.com