aboutsummaryrefslogtreecommitdiffstats
path: root/community/rust/musl-fix-static-linking.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/rust/musl-fix-static-linking.patch')
-rw-r--r--community/rust/musl-fix-static-linking.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/community/rust/musl-fix-static-linking.patch b/community/rust/musl-fix-static-linking.patch
index 1e228a0307..fe9b39ea64 100644
--- a/community/rust/musl-fix-static-linking.patch
+++ b/community/rust/musl-fix-static-linking.patch
@@ -29,9 +29,9 @@ static linking is requested, instead of dynamically as before.
- // on other dylibs (e.g. other native deps).
+ // libraries as that would violate the structure of the DAG.
+ cmd.start_group();
- add_local_native_libraries(cmd, sess);
- add_upstream_rust_crates(cmd, sess, crate_type, tmpdir);
- add_upstream_native_libraries(cmd, sess, crate_type);
+ add_local_native_libraries(cmd, sess, trans);
+ add_upstream_rust_crates(cmd, sess, trans, crate_type, tmpdir);
+ add_upstream_native_libraries(cmd, sess, trans, crate_type);
+ cmd.end_group();
// # Telling the linker what we're doing