Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
ocaml - Install libraries into lib/ocaml/site-lib
Browse files Browse the repository at this point in the history
Made the "site-lib" folder a real folder, similar to how the Python brews work.
This will allow other ocaml softare to be built into this location instead of directly
into ocaml's Cellar.
  • Loading branch information
adamv committed Jul 10, 2010
1 parent 68319a2 commit 5105e2c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Library/Formula/objective-caml.rb
Expand Up @@ -19,5 +19,9 @@ def install
system "make opt"
system "make opt.opt"
system "make install"

# site-lib in the Cellar will be a symlink to the HOMEBREW_PREFIX location
(HOMEBREW_PREFIX+"lib/ocaml/site-lib").mkpath
ln_s HOMEBREW_PREFIX+"lib/ocaml/site-lib", lib+"ocaml/site-lib"
end
end

0 comments on commit 5105e2c

Please sign in to comment.