[PATCH GOLD] [2/N mingw host] Allow plugin.cc to compile

Ian Lance Taylor iant@google.com
Fri Oct 9 23:07:00 GMT 2009


Andrew Pinski <Andrew_Pinski@playstation.sony.com> writes:

>   This patch just allows plugin.cc to compile under mingw.  This patch
> does not fix up plugin support under mingw at all.  We most likely
> either should use libltdl or create a little dlopen/dlsym wrapper for
> mingw support.
>
> OK?  Built and tested on i686-linux-gnu.
>
> Thanks,
> Andrew Pinski
>
> ChangeLog:
> * plugin.cc: Don't include dlfcn.h when ENABLE_PLUGINS is not defined.

Approved and applied.

Thanks.

Ian



More information about the Binutils mailing list