PUD: use fully qualified path to ldconfig
[olsrd.git] / lib / pud / wireformat-java / Makefile
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" \