summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/imagemagick/imagemagick-6.9.11.58.ebuild')
-rw-r--r--media-gfx/imagemagick/imagemagick-6.9.11.58.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/media-gfx/imagemagick/imagemagick-6.9.11.58.ebuild b/media-gfx/imagemagick/imagemagick-6.9.11.58.ebuild
index 1ad14695c634..d80bdfa74e82 100644
--- a/media-gfx/imagemagick/imagemagick-6.9.11.58.ebuild
+++ b/media-gfx/imagemagick/imagemagick-6.9.11.58.ebuild
@@ -206,7 +206,7 @@ src_install() {
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
# .la files in parent are not needed, keep plugin .la files
- rm "${ED}"/usr/$(get_libdir)/*.la || die
+ find "${ED}"/usr/$(get_libdir)/ -maxdepth 1 -name "*.la" -delete || die
if use opencl; then
cat <<-EOF > "${T}"/99${PN}