[libvirt] PATCH: configure.in should use 'ld' from $PATH for checking version-script syntax, not hardcode /usr/bin/ld
Daniel P. Berrange
berrange at redhat.com
Mon Nov 16 16:19:26 UTC 2009
On Mon, Nov 16, 2009 at 05:15:04PM +0100, Paolo Bonzini wrote:
> On 11/16/2009 03:01 PM, Daniel Veillard wrote:
> > The only thing I could gather is using -Wl,-debug option of gcc on a
> >compile + link simple test and then parse stderr to find 'ld '
> >But that's still completely gcc specific, so ACK for current patch,
>
> The right one is to use "`gcc --print-prog-name=ld`".
That assumes the person is using GCC, which is not a pre-requisite
for libvirt. eg Solaris builds use the Solaris compiler suite
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list