2014-02-12 12:55:42 +01:00
|
|
|
# This hook removes libtool archives (.la) unless $keep_libtool_archives is set.
|
|
|
|
|
|
|
|
hook() {
|
2014-04-02 12:06:27 +02:00
|
|
|
if [ -z "$keep_libtool_archives" -a -d "${PKGDESTDIR}" ]; then
|
2014-04-02 12:39:58 +02:00
|
|
|
find ${PKGDESTDIR} -type f -name \*.la -delete
|
2014-02-12 12:55:42 +01:00
|
|
|
fi
|
|
|
|
}
|