aboutsummaryrefslogtreecommitdiff
path: root/bfd/Makefile.am
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-12-04 13:00:35 +0000
committerMike Frysinger <vapier@gentoo.org>2010-12-04 13:00:35 +0000
commit200c83b8a913d1f6166db8c79ebcd9bdf2e9b819 (patch)
tree3b4edb0d28e7c2ab10f98110ce8bed2085190bdf /bfd/Makefile.am
parent17d078c589fe8001fa282e280e03ef84f0fb0f84 (diff)
downloadgdb-200c83b8a913d1f6166db8c79ebcd9bdf2e9b819.zip
gdb-200c83b8a913d1f6166db8c79ebcd9bdf2e9b819.tar.gz
gdb-200c83b8a913d1f6166db8c79ebcd9bdf2e9b819.tar.bz2
bfd: install plugin-api.h as needed
Since people need plugin-api.h in order to build linker plugins, install the header with the other library headers when plugin support is enabled. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'bfd/Makefile.am')
-rw-r--r--bfd/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index da14d57..9c454cc 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -23,6 +23,7 @@ else !INSTALL_LIBBFD
# Empty these so that the respective installation directories will not be created.
bfdlibdir =
bfdincludedir =
+bfdinclude_HEADERS =
rpath_bfdlibdir = @bfdlibdir@
noinst_LTLIBRARIES = libbfd.la
libbfd_la_LDFLAGS += -rpath $(rpath_bfdlibdir)
@@ -33,6 +34,7 @@ NO_WERROR = @NO_WERROR@
AM_CFLAGS = $(WARN_CFLAGS)
AM_CPPFLAGS = -DBINDIR='"$(bindir)"'
if PLUGINS
+bfdinclude_HEADERS += $(INCDIR)/plugin-api.h
LIBDL = -ldl
endif