vp-build/common/hooks/post-install/02-remove-libtool-archives.sh

8 lines
210 B
Bash
Raw Normal View History

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