On 13 December 2013 11:49, Arslan, Fahad <Fahad_Arslan@mentor.com> wrote:
> My understanding was that headers should be placed under ${includedir} instead of> ${libdir}. Isn't it the practice or am I missing something?
If the headers are machine-specific then it's conventional to put a
user-visible include $includedir (arch-independent) which then
includes files from $libdir (arch-dependent).
Considering libffi needs to know details of the calling convention on
the machine, this is presumably what's happening. GLib does the same.
Ross