summaryrefslogtreecommitdiffstats
path: root/patches/CanFestival-3-20081204-1/0002-fix-for-ldconfig-crash-on-make-install.patch
blob: f77e89a8835bdae55e79cb97846b53261d35587f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Markus Messmer <mme@pengutronix.de>
Date: Sat, 29 Oct 2011 18:32:03 +0200
Subject: [PATCH] fix for ldconfig crash on make install

Installing fails due to ldconfig failure when running as non root user.

Signed-off-by: Markus Messmer <mme@pengutronix.de>
---
 Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index 957281e..bdfff24 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -46,7 +46,7 @@ install: canfestival driver
 	$(MAKE) -C src $@
 	$(MAKE) -C examples $@
 	$(MAKE) -C objdictgen $@
-	ldconfig
+	-ldconfig
 
 uninstall:
 	$(MAKE) -C drivers $@