This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH GOLD] [2/N mingw host] Allow plugin.cc to compile
- From: Ian Lance Taylor <iant at google dot com>
- To: Andrew Pinski <Andrew_Pinski at playstation dot sony dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Fri, 09 Oct 2009 16:07:41 -0700
- Subject: Re: [PATCH GOLD] [2/N mingw host] Allow plugin.cc to compile
- References: <de8d50360910061710s35d52724t85c11bd8a144b4ec@mail.gmail.com>
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