1 |
commit: d7fa6c292459509a1bacc3e046b2c0c3897bc91b |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 11 22:35:13 2020 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 11 22:35:13 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7fa6c29 |
7 |
|
8 |
media-libs/libsdl2: Never delete libSDL2main.a and libSDL2_test.a |
9 |
|
10 |
These are mandatory are they may be needed even when linking |
11 |
dynamically. |
12 |
|
13 |
Package-Manager: Portage-2.3.88, Repoman-2.3.20 |
14 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
15 |
|
16 |
.../libsdl2/{libsdl2-2.0.10-r1.ebuild => libsdl2-2.0.10-r2.ebuild} | 5 ++--- |
17 |
1 file changed, 2 insertions(+), 3 deletions(-) |
18 |
|
19 |
diff --git a/media-libs/libsdl2/libsdl2-2.0.10-r1.ebuild b/media-libs/libsdl2/libsdl2-2.0.10-r2.ebuild |
20 |
similarity index 97% |
21 |
rename from media-libs/libsdl2/libsdl2-2.0.10-r1.ebuild |
22 |
rename to media-libs/libsdl2/libsdl2-2.0.10-r2.ebuild |
23 |
index ba7791dcca7..25492c58c01 100644 |
24 |
--- a/media-libs/libsdl2/libsdl2-2.0.10-r1.ebuild |
25 |
+++ b/media-libs/libsdl2/libsdl2-2.0.10-r2.ebuild |
26 |
@@ -185,9 +185,8 @@ multilib_src_install() { |
27 |
} |
28 |
|
29 |
multilib_src_install_all() { |
30 |
+ # Do not delete the static .a libraries here as some are |
31 |
+ # mandatory. They may be needed even when linking dynamically. |
32 |
find "${ED}" -type f -name "*.la" -delete || die |
33 |
- if ! use static-libs ; then |
34 |
- find "${ED}" -type f -name "*.a" -delete || die |
35 |
- fi |
36 |
dodoc {BUGS,CREDITS,README,README-SDL,TODO,WhatsNew}.txt docs/README*.md |
37 |
} |