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.in | |
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.in')
-rw-r--r-- | bfd/Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/Makefile.in b/bfd/Makefile.in index c1cd371..ec1ce3e 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -479,8 +479,9 @@ libbfd_la_LDFLAGS = $(am__append_1) -release `cat libtool-soversion` \ ZLIB = @zlibdir@ -lz ZLIBINC = @zlibinc@ AM_CFLAGS = $(WARN_CFLAGS) $(ZLIBINC) -AM_CPPFLAGS = -DBINDIR='"$(bindir)"' @HDEFINES@ @COREFLAG@ @TDEFINES@ \ - $(CSEARCH) $(CSWITCHES) $(HAVEVECS) @INCINTL@ +AM_CPPFLAGS = -DBINDIR='"$(bindir)"' -DLIBDIR='"$(libdir)"' @HDEFINES@ \ + @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) $(HAVEVECS) \ + @INCINTL@ $(am__empty) @PLUGINS_TRUE@LIBDL = @lt_cv_dlopen_libs@ # bfd.h goes here, for now |