SDL_image 2 not building JPEG support for Android x86

Yesterday I opened a bug on Bugzilla for a problem I found in SDL_image
which doesn’t seems to build for Android when JPEG support is enabled.

For details and a patch check the bug report:
https://bugzilla.libsdl.org/show_bug.cgi?id=2501

The weird thig is that I didn’t find any other mention to such problem
online, can someone else confirm this bug?

cheers–
Davide Coppola

website: http://www.davidecoppola.com

That’s right, just switch the Android.mk jpeg’s jidctfst.S to jidctfst.c ,
jpeg asm optimization code is not for the x86, .c would compile everywhere
despite no asm optimization on arm, this seemed like an include jpeg’s
source code inside the SDL2_image directly fast fix that wasn’t fully
tested, trying to avoid a jpeg linking, that does care about .S or .c
depending on platform.

Anyway, the report is valid SDL devs ;-)On Wed, Apr 16, 2014 at 11:21 AM, Davide Coppola wrote:

Yesterday I opened a bug on Bugzilla for a problem I found in SDL_image
which doesn’t seems to build for Android when JPEG support is enabled.

For details and a patch check the bug report:
https://bugzilla.libsdl.org/show_bug.cgi?id=2501

The weird thig is that I didn’t find any other mention to such problem
online, can someone else confirm this bug?

cheers


Davide Coppola

website: http://www.davidecoppola.com


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org