void-packages/common/hooks/post-install/02-remove-libtool-archives.sh

7 lines
187 B
Bash

# This hook removes libtool archives (.la) unless $keep_libtool_archives is set.
hook() {
if [ -z "$keep_libtool_archives" ]; then
find ${PKGDESTDIR} -type f -name *.la -delete
fi
}