summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2021-05-16 18:29:19 -0700
committerSam James <sam@gentoo.org>2021-05-18 17:16:10 +0000
commit71f83406f4f917153d37525c872a59931291706e (patch)
tree35cddd0713c6558f427fa073427d19d8ce1540b8 /media-libs/sdl2-image
parentnet-libs/libiscsi: Don't build ld_iscsi code (diff)
downloadgentoo-71f83406f4f917153d37525c872a59931291706e.tar.gz
gentoo-71f83406f4f917153d37525c872a59931291706e.tar.bz2
gentoo-71f83406f4f917153d37525c872a59931291706e.zip
media-libs/sdl2-image: Fix for multilib + slibtool
Closes: https://bugs.gentoo.org/790614 Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/sdl2-image')
-rw-r--r--media-libs/sdl2-image/sdl2-image-2.0.5_p20210328.ebuild4
1 files changed, 4 insertions, 0 deletions
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
index e7b9714664a9..c0a291b550e5 100644
--- a/media-libs/sdl2-image/sdl2-image-2.0.5_p20210328.ebuild
+++ b/media-libs/sdl2-image/sdl2-image-2.0.5_p20210328.ebuild
@@ -51,6 +51,10 @@ multilib_src_configure() {
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}
+multilib_src_compile() {
+ emake OBJC="$(tc-getCC)"
+}
+
multilib_src_install() {
emake DESTDIR="${D}" install
multilib_is_native_abi && newbin .libs/showimage$(get_exeext) showimage2$(get_exeext)