diff --git a/recipes/cairodemo/recipe.sh b/recipes/cairodemo/recipe.sh index c720d9e51e4c85908e73d9872bbf84882feae15b..5326f6f36219425327c6b239956ee09e394a56a2 100755 --- a/recipes/cairodemo/recipe.sh +++ b/recipes/cairodemo/recipe.sh @@ -21,7 +21,7 @@ function recipe_build { export LDFLAGS="-L$sysroot/lib" export CPPFLAGS="-I$sysroot/include" set -x - "${CXX}" -I "$sysroot/include" -L "$sysroot/lib" cairodemo.c -o cairodemo -lorbital -lcairo -lpixman-1 -lfreetype -lpng -lz + "${CXX}" -I "$sysroot/include" -L "$sysroot/lib" cairodemo.c -o cairodemo -static -lorbital -lcairo -lpixman-1 -lfreetype -lpng -lz set +x skip=1 } diff --git a/recipes/eduke32/recipe.sh b/recipes/eduke32/recipe.sh index c6e07caffe5a2994411991e3d248fa6f3210c47f..f43d65254214e7cfca9578550b673a60915cd56a 100644 --- a/recipes/eduke32/recipe.sh +++ b/recipes/eduke32/recipe.sh @@ -14,9 +14,9 @@ function recipe_update { function recipe_build { sysroot="$(realpath ../sysroot)" - export LDFLAGS="-L$sysroot/lib" export CFLAGS="-I$sysroot/include -I$sysroot/include/SDL" - export SDLCONFIG="$sysroot/bin/sdl-config" + export LDFLAGS="-L$sysroot/lib -static" + export SDLCONFIG="$sysroot/bin/sdl-config --prefix=$sysroot" PLATFORM=REDOX make -j"$(nproc)" skip=1