1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-11-15 11:18:07 +01:00
void-packages/common/hooks/post-install/02-remove-libtool-archives.sh

8 lines
202 B
Bash
Raw Normal View History

2024-03-29 08:12:19 +01:00
# This hook removes libtool archives (.la) unless $keep_libtool_archives is set.
hook() {
if [ -z "$keep_libtool_archives" -a -d "${PKGDESTDIR}" ]; then
find ${PKGDESTDIR} -name \*.la -delete
fi
}