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

Fix glutin package build

parent a20008ee
No related branches found
No related tags found
No related merge requests found
......@@ -6,12 +6,11 @@ CARGOFLAGS="--example window"
function recipe_build {
sysroot="$(realpath ../sysroot)"
cp -p "$ROOT/Xargo.toml" "Xargo.toml"
set -x
xargo rustc --target "$TARGET" --release ${CARGOFLAGS} \
cargo rustc --target "$TARGET" --release ${CARGOFLAGS} \
-- \
-L "${sysroot}/lib" \
-C link-args="$("${PKG_CONFIG}" --libs osmesa) -lglapi -lz -lstdc++ -lc -lgcc"
-C link-args="-Wl,-Bstatic $("${PKG_CONFIG}" --libs osmesa) -lstdc++ -lc -lgcc"
set +x
skip=1
}
......
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