thorfdbg / libjpeg

A complete implementation of 10918-1 (JPEG) coming from jpeg.org (the ISO group) with extensions for HDR, lossless and alpha channel coding standardized as ISO/IEC 18477 (JPEG XT).
327 stars 81 forks source link

libjpeg FTCBFS: fails to compute reasonable compiler identification f… #60

Open malaterre opened 3 years ago

malaterre commented 3 years ago

…rom cross tools

libjpeg fails to cross build from source, because it attempts to include a file e.g. Makefile_Settings.arm. The "arm" part here comes from an attempt at extracting a compiler identification from the compiler variable. The $ac_tool_prefix confuses the parsing code. It needs to be stripped of. Please consider applying the attached patch to make libjpeg cross buildable.

malaterre commented 3 years ago

For reference:

thorfdbg commented 3 years ago

This is intentional as building shared libraries is a bit architecture specific. Thus, in simplest case, please provide a Makefile.arm. I'll leave this issue open for the time being.