mirror of
https://github.com/xHyroM/void-packages.git
synced 2024-11-10 00:48:06 +01:00
7 lines
202 B
Bash
7 lines
202 B
Bash
# 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
|
|
}
|