https://sourceware.org/bugzilla/show_bug.cgi?id=27082
--- Comment #6 from Howard Chu <hyc at symas dot com> --- (In reply to H.J. Lu from comment #5) > We can just build libdep and install it manually. I took a look at how liblto-plugin is built https://gcc.gnu.org/git/?p=gcc.git;a=tree;f=lto-plugin;h=ab65b7bf798a806198824c7fc578b9f3f4d4c62f;hb=64a54505ec8249178b9767d1420354f8eb55de50 We can get rid of the version and static libraries using this patch diff --git a/ld/Makefile.am b/ld/Makefile.am index 2f59ee6169..929c017a85 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -983,6 +983,7 @@ enablings.exp: # # Build a dummy plugin using libtool. # +AM_LIBTOOLFLAGS = --tag=disable-static noinst_LTLIBRARIES = libldtestplug.la libldtestplug2.la \ libldtestplug3.la libldtestplug4.la libldtestplug_la_SOURCES = testplug.c @@ -1001,7 +1002,7 @@ libldtestplug4_la_LDFLAGS = -no-undefined -rpath /nowhere bfdplugindir = $(libdir)/bfd-plugins bfdplugin_LTLIBRARIES = libdep.la libdep_la_SOURCES = libdep_plugin.c -libdep_la_LDFLAGS = -no-undefined -rpath /nowhere +libdep_la_LDFLAGS = -module -avoid-version # DOCUMENTATION TARGETS # Manual configuration file; not usually attached to normal configuration, It will still install the .la file though. -- You are receiving this mail because: You are on the CC list for the bug.