Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redox-os
cookbook
Commits
99f7948c
Verified
Commit
99f7948c
authored
Jul 14, 2021
by
Jeremy Soller
Browse files
Fix glutin package build
parent
a20008ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
recipes/glutin/recipe.sh
View file @
99f7948c
...
...
@@ -6,12 +6,11 @@ CARGOFLAGS="--example window"
function
recipe_build
{
sysroot
=
"
$(
realpath
../sysroot
)
"
cp
-p
"
$ROOT
/Xargo.toml"
"Xargo.toml"
set
-x
x
argo rustc
--target
"
$TARGET
"
--release
${
CARGOFLAGS
}
\
c
argo 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
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment