changeset 17964:2a85c470cbd0

Discard return value from ldconfig, it might not work on non-root installs.
author diego
date Sun, 26 Mar 2006 21:17:14 +0000
parents c15d5f06de5d
children a1dc210f20b3
files libdha/Makefile
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libdha/Makefile	Sun Mar 26 21:07:31 2006 +0000
+++ b/libdha/Makefile	Sun Mar 26 21:17:14 2006 +0000
@@ -87,17 +87,17 @@
 	rm -f $(LIBDIR)/libdha.so
 	ln -sf $(LIBNAME) $(LIBDIR)/$(SHORTNAME)
 ifeq ($(TARGET_OS),OpenBSD)
-	ldconfig -R
+	-ldconfig -R
 else
-	ldconfig
+	-ldconfig
 endif
 
 uninstall:
 	rm -f $(LIBDIR)/libdha.so $(LIBDIR)/$(SHORTNAME) $(LIBDIR)/$(LIBNAME)
 ifeq ($(TARGET_OS),OpenBSD)
-	ldconfig -R
+	-ldconfig -R
 else
-	ldconfig
+	-ldconfig
 endif
 
 #