ld: Build and install only unversioned libdep
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 18 Dec 2020 12:30:47 +0000 (04:30 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 18 Dec 2020 12:30:59 +0000 (04:30 -0800)
commiteba7b68cb023add7bdcbcc79ac6f3ce8e50952e1
tree9bd4c048731e8f2329e2e25102e907a9c7924ceb
parent04f8967487515179cc6dfc7c828f77eeb75c08d3
ld: Build and install only unversioned libdep

Build only unversioned libdep and remove the installed libdep.la since
only a single libdep.so is needed.

PR ld/27082
* Makefile.am
(libdep_la_LDFLAGS): Add -module -avoid-version.
(libdep_la_LINK): New.
(install-data-local): Depend on $(install-bfdpluginLTLIBRARIES)
and remove libdep.la.
ld/ChangeLog
ld/Makefile.am
ld/Makefile.in