misc: nit

This commit is contained in:
Dylan Araps 2021-07-06 18:30:43 +03:00
parent ebb43819c0
commit 10e2fd2553
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

3
kiss
View File

@ -771,8 +771,7 @@ pkg_build() {
run_hook post-build "$pkg" "$pkg_dir/$pkg" run_hook post-build "$pkg" "$pkg_dir/$pkg"
# Remove all .la files from the packages. They're unneeded and cause # Remove all .la files from the packages. They're unneeded and cause
# issues when a package stops providing one. This recently caused an # issues when a package stops providing one.
# issue with harfbuzz (See: 05096e5a4dc6db5d202342f538d067d87ae7135e).
find "$pkg_dir/$pkg/usr/lib" \ find "$pkg_dir/$pkg/usr/lib" \
-name \*.la -exec rm -f {} + 2>/dev/null || : -name \*.la -exec rm -f {} + 2>/dev/null || :