summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-12-06 10:13:28 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-12-06 11:22:12 (GMT)
commitf0d938385b339f03b985b5c63e6046497c654f8b (patch)
tree384c9cdcb66c3b05fe5546994a7ab7ac75cd5a06
parent9dd5803a8cdf4149e55e1f62f146b7a34aee3cfe (diff)
downloadbuildroot-f0d938385b339f03b985b5c63e6046497c654f8b.tar.gz
buildroot-f0d938385b339f03b985b5c63e6046497c654f8b.tar.bz2
freetype: fix host headers as well
Like on 0a9cedbcf49641b2569e0a137818ad9f8c539edd we also need to fix the headers for the host variant. Fixes: http://autobuild.buildroot.net/results/261/261d6a59f144e44e51b38de98a7355a9eb8ac791/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/freetype/freetype.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk
index 0f1bb88..c97cc1a 100644
--- a/package/freetype/freetype.mk
+++ b/package/freetype/freetype.mk
@@ -63,6 +63,10 @@ define FREETYPE_FIX_FREETYPE_INCLUDE
ln -sf . $(STAGING_DIR)/usr/include/freetype2/freetype
endef
FREETYPE_POST_INSTALL_STAGING_HOOKS += FREETYPE_FIX_FREETYPE_INCLUDE
+define HOST_FREETYPE_FIX_FREETYPE_INCLUDE
+ ln -sf . $(HOST_DIR)/usr/include/freetype2/freetype
+endef
+HOST_FREETYPE_POST_INSTALL_HOOKS += HOST_FREETYPE_FIX_FREETYPE_INCLUDE
$(eval $(autotools-package))
$(eval $(host-autotools-package))