Skip to content
Snippets Groups Projects
Commit 1d46afdf authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Update glutin

parent 0db613c2
No related branches found
No related tags found
No related merge requests found
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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment