diff --git a/recipes/rust/rust.inc b/recipes/rust/rust.inc index 9ce3fe6..3a93392 100644 --- a/recipes/rust/rust.inc +++ b/recipes/rust/rust.inc @@ -358,9 +358,7 @@ rust_do_install () { ## rust will complain about multiple providers of the runtime libs ## (libstd, libsync, etc.) without this. - pushd "${D}${libdir}" - ln -sf "rustlib/${HOST_SYS}/lib/lib"*.so . - popd + (cd "${D}${libdir}" && ln -sf "rustlib/${HOST_SYS}/lib/lib"*.so .) } do_install () {