diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/objective-caml.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/objective-caml.rb b/Library/Formula/objective-caml.rb index 66c654e7b..4efb366d8 100644 --- a/Library/Formula/objective-caml.rb +++ b/Library/Formula/objective-caml.rb @@ -35,10 +35,12 @@ class ObjectiveCaml < Formula system "make opt" system "make opt.opt" system "make", "PREFIX=#{prefix}", "install" + end + def post_install # site-lib in the Cellar will be a symlink to the HOMEBREW_PREFIX location, # which is mkpath'd by Keg#link when something installs into it - ln_s HOMEBREW_PREFIX/"lib/ocaml/site-lib", lib/"ocaml/site-lib" + (lib/"ocaml").install_symlink HOMEBREW_PREFIX/"lib/ocaml/site-lib" end end __END__ |
