$OpenBSD: patch-lto-plugin_Makefile_in,v 1.2 2011/11/20 11:10:36 pascal Exp $ --- lto-plugin/Makefile.in.orig Sun Feb 13 12:45:53 2011 +++ lto-plugin/Makefile.in Sun Nov 20 00:02:22 2011 @@ -239,9 +239,11 @@ liblto_plugin_la_SOURCES = lto-plugin.c liblto_plugin_la_LIBADD = \ $(if $(wildcard ../libiberty/pic/libiberty.a),$(Wc)../libiberty/pic/libiberty.a,) +include $(top_srcdir)/../libversions # Note that we intentionally override the bindir supplied by ACX_LT_HOST_FLAGS liblto_plugin_la_LDFLAGS = $(lt_host_flags) -module -bindir $(libexecsubdir) \ - $(if $(wildcard ../libiberty/pic/libiberty.a),,-Wc,../libiberty/libiberty.a) + $(if $(wildcard ../libiberty/pic/libiberty.a),,-Wc,../libiberty/libiberty.a) \ + $(LIBlto_plugin_LTVERSION) liblto_plugin_la_DEPENDENCIES = $(if $(wildcard \ ../libiberty/pic/libiberty.a),../libiberty/pic/libiberty.a,) @@ -540,7 +542,7 @@ $(in_gcc_libs) : $(gcc_build_dir)/%: % echo WARNING: $* is static, not copying to $@ >&2 ; \ else \ $(mkinstalldirs) $(gcc_build_dir) && \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $* `pwd`/$@ ; \ + cp $* `pwd`/$@ ; \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables.