libffi: fix headers location for host-libffi
authorYegor Yefremov <yegorslists@googlemail.com>
Tue, 5 Jan 2016 07:17:22 +0000 (08:17 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 3 Feb 2016 21:31:14 +0000 (22:31 +0100)
commitf41091176bb3e8da6cf78760b69f188e9868a259
tree3a9a94426e52a1fb2acb7c6cf442e634f5308f1e
parent2b73538920107b6c020ce5c4c8d9f7f672549bb1
libffi: fix headers location for host-libffi

There is a special hook for target-libffi, that moves headers
from /usr/lib/libffi-version/include to /usr/include. This patch
adds the same procedure for host-libffi.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas:
 - factorize code between the staging headers cleanup and the host
   headers cleanup.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libffi/libffi.mk