Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compilers: add Rustup libdir even if there is no other rpath argument
RustCompiler.build_rpath_args works by appending the directory to the arguments computed by self.linker.build_rpath_args. This does not work if there is no argument to begin with, which happens for example in program crates. Use the new extra_paths argument to force inclusion of the libdir into the rpath of the binary, even in that case. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
- Loading branch information