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