From 2b41754db71610a46a11aa0f00c8d9c10ae30f43 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Sat, 23 Jul 2022 20:55:12 -0600
Subject: [PATCH] Add llvm dependency to sdl2_mixer

---
 recipes/sdl2_mixer/recipe.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/sdl2_mixer/recipe.sh b/recipes/sdl2_mixer/recipe.sh
index 43860de6..41f101c5 100644
--- a/recipes/sdl2_mixer/recipe.sh
+++ b/recipes/sdl2_mixer/recipe.sh
@@ -1,6 +1,6 @@
 VERSION=2.0.4
 TAR=https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-$VERSION.tar.gz
-BUILD_DEPENDS=(sdl2 liborbital mesa mesa_glu zlib libogg libvorbis)
+BUILD_DEPENDS=(sdl2 liborbital llvm mesa zlib libogg libvorbis)
 
 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) -lvorbis -logg -lz -lm -lpthread -lstdc++"
+    export SDL_LIBS="-lSDL2 -lorbital $("${TARGET}-pkg-config" --libs osmesa) -lvorbis -logg -lz -lm -lpthread -lstdc++"
     ./autogen.sh
     ./configure \
         --prefix=/ \
-- 
GitLab