From a983c43158965a49ad387916d5a1d0620bc6bef3 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Fri, 21 Jun 2019 16:58:25 -0600 Subject: [PATCH] Compile gears statically --- recipes/gears/recipe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/gears/recipe.sh b/recipes/gears/recipe.sh index 12e1e41b9..d6e1f5aef 100644 --- a/recipes/gears/recipe.sh +++ b/recipes/gears/recipe.sh @@ -19,7 +19,7 @@ function recipe_prepare { function recipe_build { sysroot="$(realpath ../sysroot)" set -x - "${CXX}" -O2 -I "$sysroot/include" -L "$sysroot/lib" gears.c -o gears -lorbital $("${PKG_CONFIG}" --libs glu) -lglapi -lz + "${CXX}" -O2 -I "$sysroot/include" -L "$sysroot/lib" gears.c -o gears -static -lorbital $("${PKG_CONFIG}" --libs glu) -lglapi -lz set +x skip=1 }