mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-24 13:54:19 +08:00
Update glutin
This commit is contained in:
parent
0db613c2f3
commit
1d46afdf63
@ -1,13 +1,12 @@
|
||||
GIT=https://gitlab.redox-os.org/redox-os/glutin.git
|
||||
GIT_UPSTREAM=https://github.com/tomaka/glutin.git
|
||||
GIT_UPSTREAM=https://github.com/rust-windowing/glutin.git
|
||||
BUILD_DEPENDS=(llvm mesa zlib)
|
||||
BRANCH=redox
|
||||
CARGOFLAGS="--example window"
|
||||
BRANCH=redox-0.29
|
||||
|
||||
function recipe_build {
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
set -x
|
||||
cargo rustc --target "$TARGET" --release ${CARGOFLAGS} \
|
||||
cargo rustc --target "$TARGET" --release --package glutin_examples --example window \
|
||||
-- \
|
||||
-L "${sysroot}/lib" \
|
||||
-C link-args="-Wl,-Bstatic $("${PKG_CONFIG}" --libs osmesa) -lz -lstdc++ -lc -lgcc"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user