mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-09 13:08:47 +08:00
sdl2_gears: Link libogg and libvorbis
This commit is contained in:
parent
bc5e63fa75
commit
1b83379573
@ -1,4 +1,4 @@
|
|||||||
BUILD_DEPENDS=(sdl2_image sdl2_mixer sdl2_ttf sdl2 liborbital llvm mesa mesa_glu freetype libjpeg libpng zlib)
|
BUILD_DEPENDS=(sdl2_image sdl2_mixer sdl2_ttf sdl2 liborbital llvm mesa mesa_glu freetype libjpeg libpng libogg libvorbis zlib)
|
||||||
|
|
||||||
function recipe_version {
|
function recipe_version {
|
||||||
printf "1.0.0"
|
printf "1.0.0"
|
||||||
@ -21,7 +21,7 @@ function recipe_prepare {
|
|||||||
function recipe_build {
|
function recipe_build {
|
||||||
sysroot="$(realpath ../sysroot)"
|
sysroot="$(realpath ../sysroot)"
|
||||||
set -x
|
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 glu) -lfreetype -lpng -ljpeg -lglapi -lz
|
"${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 glu) -lfreetype -lpng -ljpeg -lvorbisfile -lvorbis -logg -lglapi -lz
|
||||||
set +x
|
set +x
|
||||||
skip=1
|
skip=1
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user