Add $libtool_no_delete_archives, which doesn't remove .la files.

--HG--
extra : convert_revision : 6f3e927947d6d3c7641bad572e7c021bee2f4f32
This commit is contained in:
Juan RP 2009-08-10 22:26:08 +02:00
parent 57ca1b1171
commit f2d9901088
2 changed files with 4 additions and 1 deletions

View File

@ -74,7 +74,9 @@ install_src_phase()
run_func post_install
# Remove libtool archives from pkg destdir.
find ${DESTDIR} -type f -name \*.la -delete
if [ -n "$libtool_no_delete_archives" ]; then
find ${DESTDIR} -type f -name \*.la -delete
fi
# unset cross compiler vars.
[ -n "$cross_compiler" ] && cross_compile_unsetvars

View File

@ -73,6 +73,7 @@ reset_tmpl_vars()
only_for_archs patch_args conf_files keep_dirs \
noarch subpackages sourcepkg gtk_iconcache_dirs \
abi_depends api_depends triggers openrc_services \
libtool_no_delete_archives \
XBPS_EXTRACT_DONE XBPS_CONFIGURE_DONE \
XBPS_BUILD_DONE XBPS_INSTALL_DONE FILESDIR DESTDIR \
SRCPKGDESTDIR"