Force zlib to be linked for glium and glutin

This commit is contained in:
Jeremy Soller 2021-07-19 08:28:26 -06:00
parent d535c4b489
commit 425e3e760f
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ function recipe_build {
cargo rustc --target "$TARGET" --release ${CARGOFLAGS} \
-- \
-L "${sysroot}/lib" \
-C link-args="-Wl,-Bstatic $("${PKG_CONFIG}" --libs osmesa) -lstdc++ -lc -lgcc"
-C link-args="-Wl,-Bstatic $("${PKG_CONFIG}" --libs osmesa) -lz -lstdc++ -lc -lgcc"
set +x
skip=1
}

View File

@ -10,7 +10,7 @@ function recipe_build {
cargo rustc --target "$TARGET" --release ${CARGOFLAGS} \
-- \
-L "${sysroot}/lib" \
-C link-args="-Wl,-Bstatic $("${PKG_CONFIG}" --libs osmesa) -lstdc++ -lc -lgcc"
-C link-args="-Wl,-Bstatic $("${PKG_CONFIG}" --libs osmesa) -lz -lstdc++ -lc -lgcc"
set +x
skip=1
}