From cc22c487ecd3a8bc8ff13c12c989d5a3101af32c Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Thu, 1 Mar 2018 16:23:22 -0700
Subject: [PATCH] Add include flags to freetype

---
 recipes/freetype/recipe.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/recipes/freetype/recipe.sh b/recipes/freetype/recipe.sh
index 74c561754..8a1b1a142 100644
--- a/recipes/freetype/recipe.sh
+++ b/recipes/freetype/recipe.sh
@@ -13,6 +13,10 @@ function recipe_update {
 }
 
 function recipe_build {
+    sysroot="${PWD}/../sysroot"
+    export LDFLAGS="-L$sysroot/lib"
+    export CPPFLAGS="-I$sysroot/include"
+
     ./configure --host=${HOST} --prefix='/'
     make
     skip=1
-- 
GitLab