From d03ce565865603fa36a6359be5d3f178732f409d Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jeremy@system76.com> Date: Sun, 26 Jan 2020 19:18:08 -0700 Subject: [PATCH] Fix cmatrix --- recipes/cmatrix/recipe.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/recipes/cmatrix/recipe.sh b/recipes/cmatrix/recipe.sh index fc1ce3683..3f2b89a67 100644 --- a/recipes/cmatrix/recipe.sh +++ b/recipes/cmatrix/recipe.sh @@ -14,10 +14,15 @@ function recipe_update { function recipe_build { sysroot="$(realpath ../sysroot)" - export LDFLAGS="-L$sysroot/lib" + export LDFLAGS="-L$sysroot/lib -static" export CPPFLAGS="-I$sysroot/include -I$sysroot/include/ncurses" autoreconf -i - ./configure --build=${BUILD} --host=${HOST} --prefix=/ --without-fonts + ./configure \ + --build=${BUILD} \ + --host=${HOST} \ + --prefix=/ \ + --without-fonts + sed -i'' -e 's|#define USE_TIOCSTI 1|/* #undef USE_TIOCSTI */|g' config.h make -j"$(nproc)" skip=1 } -- GitLab