diff --git a/recipes/cairodemo/recipe.sh b/recipes/cairodemo/recipe.sh index c720d9e51..5326f6f36 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 c6e07caff..f43d65254 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