rust: remove the symlinks and libs installed directly into libdir (#17)

Signed-off-by: Derek Straka <derek@asterius.io>
This commit is contained in:
Derek Straka
2016-04-22 11:25:06 -04:00
committed by Doug Goldstein
parent 5eec138324
commit f861211e50
+3 -3
View File
@@ -470,9 +470,9 @@ rust_do_install () {
install -m 0644 "$tgt" "$td"
done
## rust will complain about multiple providers of the runtime libs
## (libstd, libsync, etc.) without this.
(cd "${D}${libdir}" && ln -sf "rustlib/${HOST_SYS}/lib/lib"*.so .)
# Remove any files directly installed into libdir to avoid
# conflicts between cross and native
rm -f ${D}${libdir}/lib*.so
}
do_install () {