[PATCH] ld: Build and install only unversioned libdep

H.J. Lu hjl.tools@gmail.com
Fri Dec 18 12:26:22 GMT 2020


On Thu, Dec 17, 2020 at 2:57 PM Howard Chu <hyc@symas.com> wrote:
>
> H.J. Lu wrote:
> > On Thu, Dec 17, 2020 at 12:55 PM Howard Chu <hyc@symas.com> wrote:
> >>
> >> H.J. Lu wrote:
> >>> On Thu, Dec 17, 2020 at 7:10 AM Howard Chu <hyc@symas.com> wrote:
> >>>> Should be able to just add --tag=disable-static to libdep_la_LDFLAGS, and not
> >>>> need a custom _LINK rule, right?
> >>>
> >>> I tried it.  But it is ignored by libtool and libdep.a is still generated.
> >>>
> >> Ah yes I see. In that case I still think it's better to just set it in AM_LIBTOOLFLAGS.
> >> libtool is only used to build the plugins, and the plugins are only usable via
> >> dynamic loading, so it may as well be set for all of the test plugins as well,
> >> not just for the libdep plugin.
>
> > That will require changes to ld plugin tests and test these changes on
> > all supported hosts.  I don't think it is a good idea.
> >
> OK, fair enough.
>

I am checking it in.

-- 
H.J.


More information about the Binutils mailing list