diff options
author | Alan Modra <amodra@gmail.com> | 2019-09-26 16:20:35 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-09-26 19:51:18 +0930 |
commit | 41f37a6fb71f2a3de388108f5cdfca9cbe6e9d51 (patch) | |
tree | 9c440accb37851b3f1328671eff5ceac04f0e99c /bfd/Makefile.am | |
parent | d2f617897b4789ea370559ddbf19d96ad5618128 (diff) | |
download | gdb-41f37a6fb71f2a3de388108f5cdfca9cbe6e9d51.zip gdb-41f37a6fb71f2a3de388108f5cdfca9cbe6e9d51.tar.gz gdb-41f37a6fb71f2a3de388108f5cdfca9cbe6e9d51.tar.bz2 |
PR24262, plugin search dir doesn't respect --libdir
bfd/
PR 24262
* Makefile.am (AM_CPPFLAGS): Add -DLIBDIR.
* plugin.c (load_plugin): Search both ${libdir}/bfd-plugins and
${bindir}/../lib/bfd-plugins if different.
* Makefile.in: Regenerate.
ld/
PR 24262
* ld.texi (-plugin): Revert 2019-03-15 change.
Diffstat (limited to 'bfd/Makefile.am')
-rw-r--r-- | bfd/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/Makefile.am b/bfd/Makefile.am index f31a734..ca868e7 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -53,7 +53,7 @@ ZLIBINC = @zlibinc@ WARN_CFLAGS = @WARN_CFLAGS@ NO_WERROR = @NO_WERROR@ AM_CFLAGS = $(WARN_CFLAGS) $(ZLIBINC) -AM_CPPFLAGS = -DBINDIR='"$(bindir)"' +AM_CPPFLAGS = -DBINDIR='"$(bindir)"' -DLIBDIR='"$(libdir)"' if PLUGINS bfdinclude_HEADERS += $(INCDIR)/plugin-api.h LIBDL = @lt_cv_dlopen_libs@ |