build failure, --enable-targets=all vs plugin support

Alan Modra amodra@bigpond.net.au
Mon Oct 19 22:43:00 GMT 2009


On Mon, Oct 19, 2009 at 01:22:46PM -0400, Rafael Espindola wrote:
> > Or add -ldl to SHARED_LIBADD as required in configure.in.  I took this
> > approach first but the first one is probably better since the addition
> > of plugin.c will have broken --enable-shared for any host without -ldl.
> > Opinions?
> 
> Sorry about the breakage. I like the second option a bit better. If
> going with the first option, can't the use of plugin.c be make
> optional in Automake?

Yes, you can do that in the makefile.  The patch to plugin.c was
easier, that's all.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list