From eb064c8d0fafe5b638f0fb1f487acfa80c8d777b Mon Sep 17 00:00:00 2001 From: Marat Safin Date: Mon, 23 Oct 2017 22:18:55 +0300 Subject: community/rust: upgrade to 1.21 --- community/rust/need-rpath.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'community/rust/need-rpath.patch') 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; -- cgit v1.2.3