Add $libtool_no_delete_archives, which doesn't remove .la files.
--HG-- extra : convert_revision : 6f3e927947d6d3c7641bad572e7c021bee2f4f32
This commit is contained in:
parent
57ca1b1171
commit
f2d9901088
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user