mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-04 10:38:46 +08:00
osdemo: add missing zlib
This commit is contained in:
parent
a792793b92
commit
1b64041573
@ -1,4 +1,4 @@
|
|||||||
BUILD_DEPENDS=(liborbital mesa mesa_glu)
|
BUILD_DEPENDS=(liborbital mesa mesa_glu zlib)
|
||||||
|
|
||||||
function recipe_version {
|
function recipe_version {
|
||||||
printf "1.0.0"
|
printf "1.0.0"
|
||||||
@ -19,7 +19,7 @@ function recipe_prepare {
|
|||||||
function recipe_build {
|
function recipe_build {
|
||||||
sysroot="$(realpath ../sysroot)"
|
sysroot="$(realpath ../sysroot)"
|
||||||
set -x
|
set -x
|
||||||
"${CXX}" -I "$sysroot/include" -L "$sysroot/lib" osdemo.c -o osdemo -lorbital -lOSMesa -lGLU -lglapi -Wl,--whole-archive -lpthread -Wl,--no-whole-archive -lm
|
"${CXX}" -I "$sysroot/include" -L "$sysroot/lib" osdemo.c -o osdemo -lorbital -lOSMesa -lGLU -lglapi -lz -Wl,--whole-archive -lpthread -Wl,--no-whole-archive -lm
|
||||||
set +x
|
set +x
|
||||||
skip=1
|
skip=1
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user