File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ class Rust < Formula
19
19
end
20
20
21
21
bottle do
22
+ rebuild 1
22
23
sha256 "330dd281718d164d7415d83a6a8376cb2cc161ecee82e3fb6ba869a885b7fe8b" => :sierra
23
24
sha256 "c90ae66966ab11382c50fc49c8ddb6320aa34390f3e76081a592e39a7e48a9fa" => :el_capitan
24
25
sha256 "b0cfdaeb92b85192846d864f20fb6ca3a162163fb549918a223b4eef4eae3d91" => :yosemite
@@ -101,6 +102,13 @@ def install
101
102
rm_rf prefix /"lib/rustlib/install.log"
102
103
end
103
104
105
+ def post_install
106
+ Dir [ prefix /"lib/rustlib/**/*.dylib" ] . each do |dylib |
107
+ chmod 0755 , dylib
108
+ MachO ::Tools . change_dylib_id ( dylib , "@rpath/#{ File . basename ( dylib ) } " )
109
+ end
110
+ end
111
+
104
112
test do
105
113
system "#{ bin } /rustdoc" , "-h"
106
114
( testpath /"hello.rs" ) . write <<-EOS . undent
You can’t perform that action at this time.
0 commit comments