rust: resolve issues with conflicted linking between host and target libs
Signed-off-by: Derek Straka <derek@asterius.io>
This commit is contained in:
@@ -469,9 +469,9 @@ rust_do_install () {
|
|||||||
install -m 0644 "$tgt" "$td"
|
install -m 0644 "$tgt" "$td"
|
||||||
done
|
done
|
||||||
|
|
||||||
## rust will complain about multiple providers of the runtime libs
|
# Remove any files directly installed into libdir to avoid
|
||||||
## (libstd, libsync, etc.) without this.
|
# conflicts between cross and native
|
||||||
(cd "${D}${libdir}" && ln -sf "rustlib/${HOST_SYS}/lib/lib"*.so .)
|
rm -f ${D}${libdir}/lib*.so
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
|
|||||||
Reference in New Issue
Block a user