]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/Config
Update linker cache after each package build and toolchain build.
[people/teissler/ipfire-2.x.git] / lfs / Config
index 2bc07547340197df985c595905db7897a1ae192c..7360ac675ecee54f2784cfc72578cef194477c60 100644 (file)
@@ -96,6 +96,8 @@ endif
 #
 ifeq "$(ROOT)" ""
 define POSTBUILD
+       @echo "Updating linker cache..."
+       @type -p ldconfig >/dev/null && ldconfig || :
        @echo "Install done; saving file list to $(TARGET) ..."
        @$(FIND_FILES) > $(DIR_SRC)/lsalrnew
        @diff $(DIR_SRC)/lsalr $(DIR_SRC)/lsalrnew | grep '^> ' | sed 's/^> //' > $(TARGET)_diff