PUD: use fully qualified path to ldconfig
authorFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 20 Jun 2012 16:53:28 +0000 (18:53 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 20 Jun 2012 16:53:55 +0000 (18:53 +0200)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/pud/nmealib/Makefile
lib/pud/wireformat-java/Makefile
lib/pud/wireformat/Makefile

index 13deada..0567676 100644 (file)
@@ -72,7 +72,7 @@ install: all
        @mkdir -v -p "$(LIBDIR)"
        cp "lib/$(LIBNAME)" "$(LIBDIR)/$(LIBNAME).$(VERSION)"
        $(STRIP) "$(LIBDIR)/$(LIBNAME).$(VERSION)"
-       ldconfig -n "$(LIBDIR)"
+       /sbin/ldconfig -n "$(LIBDIR)"
 
 install-headers: all
        @mkdir -v -p "$(INCLUDEDIR)"
@@ -81,7 +81,7 @@ install-headers: all
 
 uninstall:
        rm -f "$(LIBDIR)/$(LIBNAME)" "$(LIBDIR)/$(LIBNAME).$(VERSION)"
-       ldconfig -n "$(LIBDIR)"
+       /sbin/ldconfig -n "$(LIBDIR)"
        @rmdir -v -p --ignore-fail-on-non-empty "$(LIBDIR)"
 
 uninstall-headers:
index a219753..1b5d9cd 100644 (file)
@@ -244,7 +244,7 @@ install: all
        mkdir -v -p "$(LIBDIR)"
        cp "$(LIBDIR_BUILD)/$(SONAME)" "$(LIBDIR)/$(SONAME).$(PLUGIN_VER)"
        $(STRIP) "$(LIBDIR)/$(SONAME).$(PLUGIN_VER)"
-       ldconfig -n "$(LIBDIR)"
+       /sbin/ldconfig -n "$(LIBDIR)"
        mkdir -v -p "$(SHAREJAVADIR)"
        cp -t "$(SHAREJAVADIR)" \
       "$(LIBDIR_BUILD)/$(PROJECT).jar" \
@@ -254,7 +254,7 @@ install: all
 uninstall:
        rm -f "$(LIBDIR)/$(SONAME)" \
              "$(LIBDIR)/$(SONAME).$(PLUGIN_VER)"
-       ldconfig -n "$(LIBDIR)"
+       /sbin/ldconfig -n "$(LIBDIR)"
        rmdir -v -p --ignore-fail-on-non-empty "$(LIBDIR)"
        rm -f "$(SHAREJAVADIR)/$(PROJECT).jar" \
           "$(SHAREJAVADIR)/$(PROJECT)-src.zip" \
index 199cf77..adf7b75 100644 (file)
@@ -80,7 +80,7 @@ install: all
        mkdir -v -p "$(LIBDIR)"
        cp "$(LIBDIR_BUILD)/$(SONAME)" "$(LIBDIR)/$(SONAME).$(PLUGIN_VER)"
        $(STRIP) "$(LIBDIR)/$(SONAME).$(PLUGIN_VER)"
-       ldconfig -n "$(LIBDIR)"
+       /sbin/ldconfig -n "$(LIBDIR)"
 
 install-headers:
        rm -fr "$(INCLUDEDIR)/$(PROJECT)"
@@ -90,7 +90,7 @@ install-headers:
 uninstall:
        rm -f "$(LIBDIR)/$(SONAME)" \
              "$(LIBDIR)/$(SONAME).$(PLUGIN_VER)"
-       ldconfig -n "$(LIBDIR)"
+       /sbin/ldconfig -n "$(LIBDIR)"
        rmdir -v -p --ignore-fail-on-non-empty \
          "$(LIBDIR)"