diff options
-rw-r--r-- | dev-libs/ntl/ntl-11.4.4-r1.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-libs/ntl/ntl-11.4.4-r1.ebuild b/dev-libs/ntl/ntl-11.4.4-r1.ebuild index 1b184a8a48c0..05f9388f8c54 100644 --- a/dev-libs/ntl/ntl-11.4.4-r1.ebuild +++ b/dev-libs/ntl/ntl-11.4.4-r1.ebuild @@ -64,7 +64,10 @@ src_install() { if ! use static-libs; then # bug #775884 find "${ED}" -name '*.la' -delete || die - rm "${ED}/usr/$(get_libdir)"/libntl.a || die + + # Use rm -f because the static archive may not be created when + # using (for example) slibtool-shared. + rm -f "${ED}/usr/$(get_libdir)"/libntl.a || die fi rm -r "${ED}"/usr/share/doc/NTL || die |