Skip to content

Commit b4519d1

Browse files
committed
fix dynamic linked deps
1 parent cafbc89 commit b4519d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes/demos/sdl2-gears/recipe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function recipe_prepare {
1616
function recipe_build {
1717
sysroot="$(realpath ../sysroot)"
1818
set -x
19-
"${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
19+
"${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
2020
set +x
2121
skip=1
2222
}

0 commit comments

Comments
 (0)