ocamlsdl: set safe-string=0 for OCaml 4.06.0 compat
This commit is contained in:
parent
925ca60945
commit
fb92627b54
1 changed files with 2 additions and 2 deletions
|
@ -20,10 +20,10 @@ class Ocamlsdl < Formula
|
|||
depends_on "sdl_ttf" => :recommended
|
||||
|
||||
def install
|
||||
ENV["OCAMLPARAM"] = "safe-string=0,_" # OCaml 4.06.0 compat
|
||||
system "./configure", "--prefix=#{prefix}",
|
||||
"OCAMLLIB=#{lib}/ocaml"
|
||||
system "make", "OMLFLAGS = -unsafe -unsafe-string",
|
||||
"MLFLAGS=-g -unsafe-string"
|
||||
system "make"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue