* build: run ldconfig on `make install`
@ 2008-09-07 16:26 Jan Engelhardt
2008-09-08 13:42 ` Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: Jan Engelhardt @ 2008-09-07 16:26 UTC (permalink / raw)
To: kaber; +Cc: Netfilter Developer Mailing List
commit f7cc979c57c1a10033eef94369480cf973b806cd
Author: Jan Engelhardt <jengelh@medozas.de>
Date: Sun Sep 7 12:25:46 2008 -0400
build: run ldconfig on `make install`
Reporeted-by: Brent Clark <brentgclarklist@gmail.com>
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
Makefile.am | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 742e3de..5465db6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -107,3 +107,8 @@ tarball:
rm -Rf /tmp/${PACKAGE_TARNAME}-${PACKAGE_VERSION};
config.status: include/xtables.h.in
+
+# ldconfig may fail when we are not root (as is the case in build systems)
+# so add appropriate protection that it does not let `make` fail.
+install-exec-hook:
+ -/sbin/ldconfig || :;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: build: run ldconfig on `make install`
2008-09-07 16:26 build: run ldconfig on `make install` Jan Engelhardt
@ 2008-09-08 13:42 ` Patrick McHardy
0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2008-09-08 13:42 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: Netfilter Developer Mailing List
Jan Engelhardt wrote:
> build: run ldconfig on `make install`
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-08 13:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-07 16:26 build: run ldconfig on `make install` Jan Engelhardt
2008-09-08 13:42 ` Patrick McHardy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox