forked from kiss-community/kiss
6eb62bdd97
These files are unneeded and become a source of errors when an autotools build references a non-existing .la file. This was the case with a recent update to freetype-harfbuzz. The files are required by libtool to do libtool things, however libtool works just fine without them. These files are safe to remove according to upstream and other distributions have already been doing this for a while. > https://www.gnu.org/software/automake/faq/autotools-faq.html > > 3.1 What are these .la files for and can I safely remove them? > > portable encoding of static and shared library names and dependencies. > > removing usually only works OK if done in directories which the > runtime linker searches by default anyway (otherwise you might need > to set LD_LIBRARY_PATH or an equivalent variable) and only on systems > where the runtime linker loads indirect library dependencies > automatically (includes GNU/Linux, GNU, Solaris). It is recommended that you remove all .la files from your system if manually updating the package manager to the latest version. Running 'kiss update' will automatically handle this for you. The following script will be run on post-install to clean up the .la files. This can also be run manually. Executing this script will do nothing if the system is already clean. #!/bin/sh find "$KISS_ROOT/usr/lib" \ ! -type d \ -name \*.la \ -exec rm -f -- {} + find "$KISS_ROOT/var/db/kiss/installed" \ ! -type d \ -name manifest \ -exec sed -i '/.*\.la$/d' {} + This commit also brings back the removal of charset.alias which was a part of the default KISS_HOOK prior. It makes much more sense for it to live alongside this change. |
||
---|---|---|
.github/workflows | ||
contrib | ||
kiss | ||
LICENSE | ||
README |
|/ |\ISS https://k1ss.org ________________________________________________________________________________ Package Manager ________________________________________________________________________________ KISS' tiny package manager. Documentation: https://k1ss.org/package-manager