1 |
commit: 71f83406f4f917153d37525c872a59931291706e |
2 |
Author: orbea <orbea <AT> riseup <DOT> net> |
3 |
AuthorDate: Mon May 17 01:29:19 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 18 17:16:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71f83406 |
7 |
|
8 |
media-libs/sdl2-image: Fix for multilib + slibtool |
9 |
|
10 |
Closes: https://bugs.gentoo.org/790614 |
11 |
Signed-off-by: orbea <orbea <AT> riseup.net> |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
media-libs/sdl2-image/sdl2-image-2.0.5_p20210328.ebuild | 4 ++++ |
15 |
1 file changed, 4 insertions(+) |
16 |
|
17 |
diff --git a/media-libs/sdl2-image/sdl2-image-2.0.5_p20210328.ebuild b/media-libs/sdl2-image/sdl2-image-2.0.5_p20210328.ebuild |
18 |
index e7b9714664a..c0a291b550e 100644 |
19 |
--- a/media-libs/sdl2-image/sdl2-image-2.0.5_p20210328.ebuild |
20 |
+++ b/media-libs/sdl2-image/sdl2-image-2.0.5_p20210328.ebuild |
21 |
@@ -51,6 +51,10 @@ multilib_src_configure() { |
22 |
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
23 |
} |
24 |
|
25 |
+multilib_src_compile() { |
26 |
+ emake OBJC="$(tc-getCC)" |
27 |
+} |
28 |
+ |
29 |
multilib_src_install() { |
30 |
emake DESTDIR="${D}" install |
31 |
multilib_is_native_abi && newbin .libs/showimage$(get_exeext) showimage2$(get_exeext) |