From 2edb12922dccf6c911bfe61367270e52058086de Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jeremy@system76.com> Date: Mon, 24 Aug 2020 20:56:59 -0600 Subject: [PATCH] Fix openttd recipe --- recipes/openttd/recipe.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes/openttd/recipe.sh b/recipes/openttd/recipe.sh index 7dbedc016..0fd408f76 100644 --- a/recipes/openttd/recipe.sh +++ b/recipes/openttd/recipe.sh @@ -14,6 +14,9 @@ function recipe_update { } function recipe_build { + sysroot="$(realpath ../sysroot)" + export CFLAGS="-I$sysroot/include" + export LDFLAGS="-L$sysroot/lib --static" ./configure \ --build=${BUILD} \ --host=${HOST} \ -- GitLab