diff --git a/recipes/sdl2_ttf/recipe.sh b/recipes/sdl2_ttf/recipe.sh
index d9688ffc43617a6f8a7899585c2db7a232c1b71e..75c6e2d1d6f12a437e1a68fa7994d20decbe8b59 100644
--- a/recipes/sdl2_ttf/recipe.sh
+++ b/recipes/sdl2_ttf/recipe.sh
@@ -1,6 +1,6 @@
 VERSION=2.0.15
 TAR=https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-$VERSION.tar.gz
-BUILD_DEPENDS=(sdl2 liborbital mesa mesa_glu freetype libpng zlib)
+BUILD_DEPENDS=(sdl2 liborbital llvm mesa freetype libpng zlib)
 
 function recipe_version {
     echo "$VERSION"
@@ -16,7 +16,7 @@ function recipe_build {
     sysroot="$(realpath ../sysroot)"
     export CFLAGS="-I$sysroot/include"
     export LDFLAGS="-L$sysroot/lib"
-    export SDL_LIBS="-lSDL2 -lorbital $("${PKG_CONFIG}" --libs glu) -lz -lm -lpthread -lstdc++"
+    export SDL_LIBS="-lSDL2 -lorbital $("${PKG_CONFIG}" --libs osmesa) -lz -lm -lpthread -lstdc++"
     ./autogen.sh
     ./configure --prefix=/ --build=${BUILD} --host=${HOST} --enable-opengl --disable-shared --disable-sdltest
     "$REDOX_MAKE" -j"$($NPROC)"