diff libdha/Makefile @ 21955:c24e237516f6

Move ldconfig platform differences into configure where they belong.
author diego
date Sat, 20 Jan 2007 21:19:58 +0000
parents a678ff4617fd
children 909e1e707dc5
line wrap: on
line diff
--- a/libdha/Makefile	Sat Jan 20 21:14:14 2007 +0000
+++ b/libdha/Makefile	Sat Jan 20 21:19:58 2007 +0000
@@ -84,19 +84,11 @@
 	install -m 755 $(INSTALLSTRIP) -p $(LIBNAME) $(LIBDIR)/$(LIBNAME)
 	rm -f $(LIBDIR)/libdha.so
 	ln -sf $(LIBNAME) $(LIBDIR)/$(SHORTNAME)
-ifeq ($(TARGET_OS),OpenBSD)
-	-ldconfig -R
-else
-	-ldconfig
-endif
+	-$(LDCONFIG)
 
 uninstall:
 	rm -f $(LIBDIR)/libdha.so $(LIBDIR)/$(SHORTNAME) $(LIBDIR)/$(LIBNAME)
-ifeq ($(TARGET_OS),OpenBSD)
-	-ldconfig -R
-else
-	-ldconfig
-endif
+	-$(LDCONFIG)
 
 ifneq ($(wildcard .depend),)
 include .depend