mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 13:24:17 +08:00
Add llvm dependency to sdl2_mixer
This commit is contained in:
parent
e12f66fb00
commit
2b41754db7
@ -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=/ \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user