PUD: nmealib: use fully qualified path to ldconfig
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 9 Aug 2012 20:16:40 +0000 (22:16 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 9 Aug 2012 20:16:56 +0000 (22:16 +0200)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
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: