Skip to content
Snippets Groups Projects
Verified Commit 30eaa01b authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Fix glutin and winit compilation

parent 20accfbf
No related branches found
No related tags found
No related merge requests found
GIT=https://gitlab.redox-os.org/redox-os/glutin.git GIT=https://gitlab.redox-os.org/redox-os/glutin.git
GIT_UPSTREAM=https://github.com/tomaka/glutin.git GIT_UPSTREAM=https://github.com/tomaka/glutin.git
GIT_BRANCH=redox BUILD_DEPENDS=(mesa)
BRANCH=redox
CARGOFLAGS="--example window" CARGOFLAGS="--example window"
function recipe_build {
sysroot="$(realpath ../sysroot)"
cp -p "$ROOT/Xargo.toml" "Xargo.toml"
xargo rustc --target "$TARGET" --release ${CARGOFLAGS} \
-- \
-L "${sysroot}/lib" \
-l OSMesa \
-l glapi \
-l pthread \
-l stdc++
skip=1
}
GIT=https://gitlab.redox-os.org/redox-os/winit.git GIT=https://gitlab.redox-os.org/redox-os/winit.git
GIT_UPSTREAM=https://github.com/tomaka/winit.git GIT_UPSTREAM=https://github.com/tomaka/winit.git
GIT_BRANCH=redox BRANCH=redox
CARGOFLAGS="--example window" CARGOFLAGS="--example window"
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