This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH mingw/gold] Fix mingw gold build with plugins enabled for non-dlfcn case
Thanks.
On Fri, Jan 11, 2013 at 6:36 PM, Ian Lance Taylor <iant@google.com> wrote:
> On Fri, Jan 11, 2013 at 4:31 AM, Pavel Chupin <pavel.v.chupin@gmail.com> wrote:
>> 2013-01-11 Pavel Chupin <pavel.v.chupin@intel.com>
>>
>> Fix mingw gold build with plugins enabled
>> * Makefile.am: Replace -ldl with @lt_cv_dlopen_libs@.
>> * configure.ac: Export lt_cv_dlopen_libs and add headers check.
>> * plugin.cc: Handle non-dlfcn case.
>> * Makefile.in: Regenerate.
>> * config.in: Regenerate.
>> * configure: Regenerate.
>> * testsuite/Makefile.in: Regenerate.
>
> Thanks. Using lt_cv_dlopen_libs isn't right, because the variable is
> no longer being set by libtool. There is in any case no need to cache
> it for this usage, so I changed it to DLOPEN_LIBS. Committed as
> attached.
>
> Ian
--
Pavel Chupin
Intel Corporation