[PATCH mingw/gold] Fix mingw gold build with plugins enabled for non-dlfcn case

Ian Lance Taylor iant@google.com
Fri Jan 11 14:36:00 GMT 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: application/octet-stream
Size: 3977 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20130111/37b42a45/attachment.obj>


More information about the Binutils mailing list