PUD: nmealib: use fully qualified path to ldconfig
[olsrd.git] / lib / pud / nmealib / Makefile
index 55e58ee..5faf5c6 100644 (file)
@@ -77,7 +77,7 @@ install: all
        @mkdir -v -p "$(LIBDIR)"
        @cp -v "lib/$(LIBNAME)" "$(LIBDIR)/$(LIBNAME).$(VERSION)"
        @$(STRIP) "$(LIBDIR)/$(LIBNAME).$(VERSION)"
-       @ldconfig -n "$(LIBDIR)"
+       @/sbin/ldconfig -n "$(LIBDIR)"
 
 install-headers: all
        @mkdir -v -p "$(INCLUDEDIR)"
@@ -86,7 +86,7 @@ install-headers: all
 
 uninstall:
        @rm -fv "$(LIBDIR)/$(LIBNAME)" "$(LIBDIR)/$(LIBNAME).$(VERSION)"
-       @ldconfig -n "$(LIBDIR)"
+       @/sbin/ldconfig -n "$(LIBDIR)"
        @rmdir -v -p --ignore-fail-on-non-empty "$(LIBDIR)"
 
 uninstall-headers: