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