1 --- binutils-2.26/bfd/Makefile.am.orig 2016-01-26 21:10:01.893801762 +0100
2 +++ binutils-2.26/bfd/Makefile.am 2016-01-26 21:10:42.507133384 +0100
4 WARN_CFLAGS = @WARN_CFLAGS@
5 NO_WERROR = @NO_WERROR@
6 AM_CFLAGS = $(WARN_CFLAGS) $(ZLIBINC)
7 -AM_CPPFLAGS = -DBINDIR='"$(bindir)"'
8 +AM_CPPFLAGS = -DBINDIR='"$(bindir)"' -DLIBDIR='"$(libdir)"'
10 bfdinclude_HEADERS += $(INCDIR)/plugin-api.h
11 LIBDL = @lt_cv_dlopen_libs@
12 --- binutils-2.25.51.0.1/bfd/plugin.c.orig 2015-03-15 11:04:52.000000000 +0100
13 +++ binutils-2.25.51.0.1/bfd/plugin.c 2015-03-17 21:03:28.116034504 +0100
16 load_plugin (bfd *abfd)
20 + const char *p = LIBDIR "/bfd-plugins";
25 if (plugin_program_name == NULL)
28 - plugin_dir = concat (BINDIR, "/../lib/bfd-plugins", NULL);
29 - p = make_relative_prefix (plugin_program_name,