From b4519d1a574f8759376231f4b79cb38e527bc478 Mon Sep 17 00:00:00 2001 From: Fabio Di Francesco Date: Mon, 19 May 2025 09:14:09 +0200 Subject: [PATCH] fix dynamic linked deps --- recipes/demos/sdl2-gears/recipe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/demos/sdl2-gears/recipe.sh b/recipes/demos/sdl2-gears/recipe.sh index ae0f8c4ee..b9a661ddc 100644 --- a/recipes/demos/sdl2-gears/recipe.sh +++ b/recipes/demos/sdl2-gears/recipe.sh @@ -16,7 +16,7 @@ function recipe_prepare { function recipe_build { sysroot="$(realpath ../sysroot)" set -x - "${CXX}" -O2 -I "$sysroot/include" -L "$sysroot/lib" gears.c -o sdl2_gears -static -lSDL2_image -lSDL2_mixer -lSDL2_ttf -lSDL2 -lorbital $("${PKG_CONFIG}" --libs osmesa) -lfreetype -lpng -ljpeg -lvorbisfile -lvorbis -logg -lz + "${CXX}" -O2 -I "$sysroot/include" -L "$sysroot/lib" gears.c -o sdl2_gears -dynamic -lSDL2_image -lSDL2_mixer -lSDL2_ttf -lSDL2 -lorbital $("${PKG_CONFIG}" --libs osmesa) -lfreetype -lpng -ljpeg -lvorbisfile -lvorbis -logg -lz set +x skip=1 }