public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Do not install libdebuginfod.pc unless debuginfod is enabled
@ 2020-01-01 23:42 Dmitry V. Levin
  2020-01-08 14:31 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry V. Levin @ 2020-01-01 23:42 UTC (permalink / raw)
  To: elfutils-devel

Fixes: 288f6b199 ("debuginfod 1/2: client side")
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
---
 config/ChangeLog   | 5 +++++
 config/Makefile.am | 5 ++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/config/ChangeLog b/config/ChangeLog
index cc4187bf..2296e815 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2020-01-01  Dmitry V. Levin  <ldv@altlinux.org>
+
+	* Makefile.am (pkgconfig_DATA): Conditionalize libdebuginfod.pc
+	on DEBUGINFOD.
+
 2019-12-22  Frank Ch. Eigler  <fche@redhat.com>
 
 	* elfutils.spec.in (debuginfod): Add BuildRequire dpkg
diff --git a/config/Makefile.am b/config/Makefile.am
index 55e895ac..11f17df0 100644
--- a/config/Makefile.am
+++ b/config/Makefile.am
@@ -33,7 +33,10 @@ EXTRA_DIST = elfutils.spec.in known-dwarf.awk 10-default-yama-scope.conf \
 	     debuginfod.service debuginfod.sysconfig
 
 pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libelf.pc libdw.pc libdebuginfod.pc
+pkgconfig_DATA = libelf.pc libdw.pc
+if DEBUGINFOD
+pkgconfig_DATA += libdebuginfod.pc
+endif
 
 if MAINTAINER_MODE
 $(srcdir)/elfutils.spec.in: $(top_srcdir)/NEWS
-- 
ldv

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Do not install libdebuginfod.pc unless debuginfod is enabled
  2020-01-01 23:42 [PATCH] Do not install libdebuginfod.pc unless debuginfod is enabled Dmitry V. Levin
@ 2020-01-08 14:31 ` Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2020-01-08 14:31 UTC (permalink / raw)
  To: Dmitry V. Levin, elfutils-devel

On Thu, 2020-01-02 at 02:42 +0300, Dmitry V. Levin wrote:
> Fixes: 288f6b199 ("debuginfod 1/2: client side")
> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
> [...]
> +2020-01-01  Dmitry V. Levin  <ldv@altlinux.org>
> +
> +	* Makefile.am (pkgconfig_DATA): Conditionalize libdebuginfod.pc
> +	on DEBUGINFOD.

That looks correct. Pushed to master.

Thanks,

Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-08 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-01 23:42 [PATCH] Do not install libdebuginfod.pc unless debuginfod is enabled Dmitry V. Levin
2020-01-08 14:31 ` Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).