Skip to content

Instantly share code, notes, and snippets.

@avsm
Created July 3, 2012 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avsm/3040106 to your computer and use it in GitHub Desktop.
Save avsm/3040106 to your computer and use it in GitHub Desktop.
myocamlbuild.ml for compiler-libs tag on ocaml4
open Ocamlbuild_plugin
let _ = dispatch begin function
| Before_rules ->
flag ["ocaml"; "compile"; "compiler-libs"] & S[A"-I"; A"+compiler-libs"];
flag ["ocaml"; "link"; "compiler-libs"] & S[A"-I"; A"+compiler-libs"];
| _ -> ()
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment