[OE-core] [PATCH] libffi: Copy headers to more common include path.
Burton, Ross
ross.burton at intel.com
Fri Dec 13 12:09:21 UTC 2013
On 13 December 2013 11:49, Arslan, Fahad <Fahad_Arslan at 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
More information about the Openembedded-core
mailing list