diff options
Diffstat (limited to 'community/rust/need-rpath.patch')
-rw-r--r-- | community/rust/need-rpath.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/community/rust/need-rpath.patch b/community/rust/need-rpath.patch index b345d27d92..88cc9d8882 100644 --- a/community/rust/need-rpath.patch +++ b/community/rust/need-rpath.patch @@ -55,7 +55,7 @@ Hacky hacky! - if sess.opts.cg.rpath { + // XXX: hacky hacky + let bootstrap = env::var("RUSTC_BOOTSTRAP").is_ok(); -+ if !bootstrap && !sess.fully_static() && ++ if !bootstrap && !sess.crt_static() && + (sess.opts.cg.rpath || sess.target.target.options.need_rpath) { let sysroot = sess.sysroot(); let target_triple = &sess.opts.target_triple; |