abuild: don't warn about static libraries in -dev

This commit is contained in:
Leo 2020-10-23 11:35:31 -03:00 committed by Natanael Copa
parent 8eeca0adad
commit 4c38544a96
1 changed files with 0 additions and 6 deletions

View File

@ -783,12 +783,6 @@ postcheck() {
&& ! is_openrc_pkg "$name"; then
warning "Found OpenRC directory (/etc/conf.d or /etc/init.d) but name doesn't end with -openrc"
fi
# look for static archives
if ! is_static_pkg "$name"; then
for i in $(find "$dir"/lib "$dir"/usr/lib -name '*.a' 2>/dev/null); do
warning "Found static archive on ${i##*$dir/} but name doesn't end with -static"
done
fi
# look for /usr/share/doc
if [ -e "$dir"/usr/share/doc ] \
&& ! is_doc_pkg "$name"; then