summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2020-02-11 22:35:13 +0000
committerJames Le Cuirot <chewi@gentoo.org>2020-02-11 22:35:13 +0000
commitd7fa6c292459509a1bacc3e046b2c0c3897bc91b (patch)
tree262d1f40eaac4aa90f8c15236716e613d2fb4832 /media-libs/libsdl2
parentRevert a bunch of python3_8 additions. (diff)
downloadgentoo-d7fa6c292459509a1bacc3e046b2c0c3897bc91b.tar.gz
gentoo-d7fa6c292459509a1bacc3e046b2c0c3897bc91b.tar.bz2
gentoo-d7fa6c292459509a1bacc3e046b2c0c3897bc91b.zip
media-libs/libsdl2: Never delete libSDL2main.a and libSDL2_test.a
These are mandatory are they may be needed even when linking dynamically. Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'media-libs/libsdl2')
-rw-r--r--media-libs/libsdl2/libsdl2-2.0.10-r2.ebuild (renamed from media-libs/libsdl2/libsdl2-2.0.10-r1.ebuild)5
1 files changed, 2 insertions, 3 deletions
diff --git a/media-libs/libsdl2/libsdl2-2.0.10-r1.ebuild b/media-libs/libsdl2/libsdl2-2.0.10-r2.ebuild
index ba7791dcca7..25492c58c01 100644
--- a/media-libs/libsdl2/libsdl2-2.0.10-r1.ebuild
+++ b/media-libs/libsdl2/libsdl2-2.0.10-r2.ebuild
@@ -185,9 +185,8 @@ multilib_src_install() {
}
multilib_src_install_all() {
+ # Do not delete the static .a libraries here as some are
+ # mandatory. They may be needed even when linking dynamically.
find "${ED}" -type f -name "*.la" -delete || die
- if ! use static-libs ; then
- find "${ED}" -type f -name "*.a" -delete || die
- fi
dodoc {BUGS,CREDITS,README,README-SDL,TODO,WhatsNew}.txt docs/README*.md
}