From 06087e67e166512a623f584bfb52a17dfb974b51 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 6 Oct 2011 13:29:36 -0700 Subject: [PATCH] Configure out rpath tests when not testing --- src/comp/back/rpath.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/comp/back/rpath.rs b/src/comp/back/rpath.rs index 6c542a8a1a47..2e9ac8772549 100644 --- a/src/comp/back/rpath.rs +++ b/src/comp/back/rpath.rs @@ -183,6 +183,7 @@ fn minimize_rpaths(rpaths: [str]) -> [str] { #[cfg(target_os = "linux")] #[cfg(target_os = "macos")] +#[cfg(test)] mod test { #[test] fn test_rpaths_to_flags() {