[PATCH] ld: build libdep plugin only when shared library support is enabled
Clément Chigot
chigot@adacore.com
Thu Apr 13 08:59:16 GMT 2023
On Thu, Apr 13, 2023 at 10:54 AM Howard Chu <hyc@symas.com> wrote:
>
> Clément Chigot via Binutils wrote:
> > Otherwise, libtool will create a static plugin which cannot be loaded.
> > Even worse on Windows, it will create a .a file, resulting in a similar
> > bug than PR 27113: some tools will try to open it and Windows will raise
> > a popup error.
>
> At this point I think it'd be better to integrate the libdep functionality directly into ld, as suggested before:
>
> https://sourceware.org/pipermail/binutils/2023-February/126155.html
Oh yeah clearly, I've missed this patch.
Thanks for pointing it out. I'll post an upvote on it.
Clément
More information about the Binutils
mailing list