diff options
| author | Dmitry V. Levin <[email protected]> | 2020-11-02 08:00:00 +0000 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2020-11-09 14:27:31 +0100 |
| commit | f36411d0eecf5e9b3b637bf6c4024db422a13ec3 (patch) | |
| tree | bfae74e0831e2ba07df7b63c097776507b2b9928 /config/Makefile.am | |
| parent | f31e45b1456b551ef8ee4711b06280a58954d980 (diff) | |
config: Conditionalize on LIBDEBUGINFOD instead of DEBUGINFOD
When elfutils is configured using --enable-libdebuginfod
--disable-debuginfod, that is, when the library is built and installed
but the server is not, it makes sense to install libdebuginfod.pc
because the latter complements the library rather than the server.
Likewise, it makes sense to install profile.d/debuginfod.*sh files
along with libdebuginfod because the library can use DEBUGINFOD_URLS
environment variable as well as the server.
This change does not affect --enable-debuginfod mode as the latter
requires --enable-libdebuginfod.
Fixes: fed3c3ceeaa6 ("Do not install libdebuginfod.pc unless debuginfod is enabled")
Fixes: b503c358dde8 ("Do not install profile.d/debuginfod.*sh files unless debuginfod is enabled")
Signed-off-by: Dmitry V. Levin <[email protected]>
Diffstat (limited to 'config/Makefile.am')
| -rw-r--r-- | config/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/Makefile.am b/config/Makefile.am index ef28dab6..a66f5490 100644 --- a/config/Makefile.am +++ b/config/Makefile.am @@ -34,7 +34,7 @@ EXTRA_DIST = elfutils.spec.in known-dwarf.awk 10-default-yama-scope.conf \ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libelf.pc libdw.pc -if DEBUGINFOD +if LIBDEBUGINFOD pkgconfig_DATA += libdebuginfod.pc install-data-local: |
