libffi: fix host build

My last commit c1137b6db7 "libffi: fix
libffi.pc file" broke the host build as that still placed the header
files to /usr/lib/libffi-3.0.13/include/ and the libffi.pc file pointed
to /usr/include/ . With this patch I took the patch from Debian and
also made the install process to put the header files to /usr/include
in all situations.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens
2015-11-21 12:34:45 +01:00
parent 10311faf44
commit 1ad9005e98
2 changed files with 28 additions and 3 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/libffi-$(PKG_VERSION)/include/*.h \
$(PKG_INSTALL_DIR)/usr/include/*.h \
$(1)/usr/include/
endef